fix luarocks detection

This commit is contained in:
Enno Rehling 2020-10-12 08:50:54 +02:00
parent 4a7dadfb9b
commit 9575fccdaf
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ pkg-config --exists sqlite3 && ERESSEA_DB=sqlite
GETOPT=getopt GETOPT=getopt
GETOPT_LONG=1 GETOPT_LONG=1
if [ -z "$(luarocks which lunitx)" ] ; then if [ -z "$(luarocks show lunitx)" ] ; then
luarocks install lunitx --local luarocks install lunitx --local
fi fi
if [ "Darwin" = "$(uname)" ] ; then if [ "Darwin" = "$(uname)" ] ; then