diff options
author | Xpol Wan <xpolife@gmail.com> | 2015-03-18 15:38:52 +0800 |
---|---|---|
committer | Xpol Wan <xpolife@gmail.com> | 2015-03-18 15:38:52 +0800 |
commit | 90586f6616b2b1c7cea67eaa64a8c79e1591a921 (patch) | |
tree | 342022bcd96c1400e171fb5171ff55f2a3332b60 /makedist | |
parent | bdf218bfa94abf353d662ee92674ca22a33f8f25 (diff) | |
parent | 88a903a50bd0e581b8886004402d41f44d2255e1 (diff) | |
download | luarocks-90586f6616b2b1c7cea67eaa64a8c79e1591a921.tar.gz luarocks-90586f6616b2b1c7cea67eaa64a8c79e1591a921.tar.bz2 luarocks-90586f6616b2b1c7cea67eaa64a8c79e1591a921.zip |
Merge branch 'master' of https://github.com/keplerproject/luarocks
Diffstat (limited to 'makedist')
-rwxr-xr-x | makedist | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -39,8 +39,8 @@ do | |||
39 | cp "$i" "$out/$dir" | 39 | cp "$i" "$out/$dir" |
40 | if echo "$i" | grep -v "/bin/" | grep -q "^src/" | 40 | if echo "$i" | grep -v "/bin/" | grep -q "^src/" |
41 | then | 41 | then |
42 | grep -qw `basename "$i"` Makefile || { | 42 | grep -qw `basename "$i"` Makefile.setup.inc || { |
43 | echo "Missing ref in makefile: $i" | 43 | echo "Missing ref in Makefile.setup.inc: $i" |
44 | touch "missing_ref" | 44 | touch "missing_ref" |
45 | exit 1 | 45 | exit 1 |
46 | } | 46 | } |
@@ -68,7 +68,7 @@ cd .. | |||
68 | rm -rf "release-unix" | 68 | rm -rf "release-unix" |
69 | 69 | ||
70 | cd "release-windows/$out-win32" | 70 | cd "release-windows/$out-win32" |
71 | rm -rf makedist Makefile configure lfw .travis.yml .gitignore | 71 | rm -rf makedist Makefile* configure lfw .travis.yml .gitignore test |
72 | cd .. | 72 | cd .. |
73 | zip -r ../"$out-win32.zip" "$out-win32" | 73 | zip -r ../"$out-win32.zip" "$out-win32" |
74 | cd .. | 74 | cd .. |