lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Thu, Nov 8, 2018 at 5:02 AM Petr Štetiar <> wrote:
Dirk Laurie <> [2018-11-08 14:44:10]:

> Op Do., 8 Nov. 2018 om 14:38 het Petr Štetiar <> geskryf:
> >
> > It seems like that FreeBSD version is shipping with custom unzip[1]
> > implementation, which doesn't have `-h` commandline option, option which is
> > being used by LuaRocks to find out if the unzip utility is installed.
> Maybe LuaRocks could use `unzip -v` instead of `unzip -h` for this purpose.

Hm, I don't think so, as it seems, that this FreeBSDish unzip would exit[1]
with 0 return code only after succesful file unzip, but maybe I'm reading it
wrong :-)


-- ynezz

Thanks Daurnimator et all! The version of unzip provided with the base FreeBSD install does not support -h (nor does it support -v for version). However, the version in ports/archivers provides the correct functionality for both -h and -v. I did have that ports version installed in /usr/local/bin but /usr/bin takes precedence in my path. So my plan now is to add archivers/unzip as a port dependency and patch the config file. (unless there's a better suggestion).

Thanks for the help!