aboutsummaryrefslogtreecommitdiff
path: root/makedist
diff options
context:
space:
mode:
Diffstat (limited to 'makedist')
-rwxr-xr-xmakedist8
1 files changed, 4 insertions, 4 deletions
diff --git a/makedist b/makedist
index fb41b981..05da40a8 100755
--- a/makedist
+++ b/makedist
@@ -20,9 +20,9 @@ grep -q "\"$1\"" rockspec || {
20 exit 1 20 exit 1
21} 21}
22 22
23grep -q "program_version = \"$1\"" src/luarocks/cfg.lua || { 23grep -q "program_version = \"$1\"" src/luarocks/core/cfg.lua || {
24 echo 24 echo
25 echo "program_version in src/luarocks/cfg.lua is incorrect. Please fix it." 25 echo "program_version in src/luarocks/core/cfg.lua is incorrect. Please fix it."
26 exit 1 26 exit 1
27} 27}
28 28
@@ -41,9 +41,9 @@ grep -q "LUAROCKS_VER: $1" appveyor.yml || {
41# e.g. if $1 is "2.3.0", $program_series is "2.3" 41# e.g. if $1 is "2.3.0", $program_series is "2.3"
42program_series=${1%.*} 42program_series=${1%.*}
43 43
44grep -q "program_series = \"$program_series\"" src/luarocks/cfg.lua || { 44grep -q "program_series = \"$program_series\"" src/luarocks/core/cfg.lua || {
45 echo 45 echo
46 echo "program_series in src/luarocks/cfg.lua is incorrect. Please fix it." 46 echo "program_series in src/luarocks/core/cfg.lua is incorrect. Please fix it."
47 exit 1 47 exit 1
48} 48}
49 49