aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xmakedist6
1 files changed, 6 insertions, 0 deletions
diff --git a/makedist b/makedist
index 402ef71f..073a9998 100755
--- a/makedist
+++ b/makedist
@@ -14,6 +14,12 @@ fi
14 14
15make clean || exit 1 15make clean || exit 1
16 16
17grep -q "\"$1\"" rockspec || {
18 echo
19 echo "Version in rockspec is incorrect. Please fix it."
20 exit 1
21}
22
17out="luarocks-$1" 23out="luarocks-$1"
18rm -rf "$out" 24rm -rf "$out"
19mkdir "$out" 25mkdir "$out"