lua-users home
lua-l archive

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


Dirk Laurie <dirk.laurie@gmail.com> [2018-11-08 14:44:10]:

> Op Do., 8 Nov. 2018 om 14:38 het Petr Štetiar <ynezz@true.cz> 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 :-)

1. https://github.com/freebsd/freebsd/blob/1d6e4247415d264485ee94b59fdbc12e0c566fd0/usr.bin/unzip/unzip.c#L1065

-- ynezz