aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmakedist6
1 files changed, 6 insertions, 0 deletions
diff --git a/makedist b/makedist
index 073a9998..ac77696c 100755
--- a/makedist
+++ b/makedist
@@ -20,6 +20,12 @@ grep -q "\"$1\"" rockspec || {
20 exit 1 20 exit 1
21} 21}
22 22
23grep -q "program_version = \"$1\"" src/luarocks/cfg.lua || {
24 echo
25 echo "Version in src/luarocks/cfg.lua is incorrect. Please fix it."
26 exit 1
27}
28
23out="luarocks-$1" 29out="luarocks-$1"
24rm -rf "$out" 30rm -rf "$out"
25mkdir "$out" 31mkdir "$out"