aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmakedist6
1 files changed, 6 insertions, 0 deletions
diff --git a/makedist b/makedist
index af07a5fa..9b737588 100755
--- a/makedist
+++ b/makedist
@@ -24,6 +24,12 @@ ROCKSPEC="luarocks-$1-1.rockspec"
24 echo "$ROCKSPEC is missing. Please check rockspec version is correct." 24 echo "$ROCKSPEC is missing. Please check rockspec version is correct."
25} 25}
26 26
27grep -q "LuaRocks version $1" "configure" || {
28 echo
29 echo "version in configure is incorrect. Please fix it."
30 exit 1
31}
32
27grep -q "\"$1-1\"" "$ROCKSPEC" || { 33grep -q "\"$1-1\"" "$ROCKSPEC" || {
28 echo 34 echo
29 echo "version in rockspec is incorrect. Please fix it." 35 echo "version in rockspec is incorrect. Please fix it."