diff options
-rwxr-xr-x | makedist | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -20,6 +20,12 @@ grep -q "\"$1\"" rockspec || { | |||
20 | exit 1 | 20 | exit 1 |
21 | } | 21 | } |
22 | 22 | ||
23 | grep -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 | |||
23 | out="luarocks-$1" | 29 | out="luarocks-$1" |
24 | rm -rf "$out" | 30 | rm -rf "$out" |
25 | mkdir "$out" | 31 | mkdir "$out" |