aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2024-05-31 14:36:06 -0300
committerHisham Muhammad <hisham@gobolinux.org>2024-05-31 14:36:06 -0300
commit118b2deaa783f9bb8b877eb016aa80c23c21ee24 (patch)
treec4aed730b3617b167a088e0e24d8aff36bb1df13
parent494a4934633ff81368090a3265abb02d03f5d9e5 (diff)
downloadluarocks-118b2deaa783f9bb8b877eb016aa80c23c21ee24.tar.gz
luarocks-118b2deaa783f9bb8b877eb016aa80c23c21ee24.tar.bz2
luarocks-118b2deaa783f9bb8b877eb016aa80c23c21ee24.zip
makedist: fix arg check
-rwxr-xr-xmakedist5
1 files changed, 4 insertions, 1 deletions
diff --git a/makedist b/makedist
index 77899d51..ac7a466e 100755
--- a/makedist
+++ b/makedist
@@ -18,7 +18,10 @@ version=$1
18shift 18shift
19 19
20lua54dir=$1 20lua54dir=$1
21shift 21shift || {
22 echo "Second argument must be the Lua 5.4 prefix."
23 exit 1
24}
22 25
23if ! [ -d "$lua54dir" ] 26if ! [ -d "$lua54dir" ]
24then 27then