On Thu, Nov 8, 2018 at 5:02 AM Petr Štetiar <email@example.com
Dirk Laurie <firstname.lastname@example.org> [2018-11-08 14:44:10]:
> Op Do., 8 Nov. 2018 om 14:38 het Petr Štetiar <email@example.com> geskryf:
> > It seems like that FreeBSD version is shipping with custom unzip
> > 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
with 0 return code only after succesful file unzip, but maybe I'm reading it
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!