aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2012-04-13 16:36:37 -0300
committerHisham Muhammad <hisham@gobolinux.org>2012-04-13 16:36:37 -0300
commite636fcd2a9ae365e067023e50cc621e7a68da7b5 (patch)
tree6a6fb9a27b383610870a5bf3a9ad70dd4fc518b6
parente3fd566cd1080fa9f28cf466526455e0ce6a6e50 (diff)
downloadluarocks-e636fcd2a9ae365e067023e50cc621e7a68da7b5.tar.gz
luarocks-e636fcd2a9ae365e067023e50cc621e7a68da7b5.tar.bz2
luarocks-e636fcd2a9ae365e067023e50cc621e7a68da7b5.zip
restore file mode when cleaning up
Diffstat (limited to '')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index eda14bb5..18764556 100644
--- a/Makefile
+++ b/Makefile
@@ -107,6 +107,7 @@ cleanup_bins:
107 do \ 107 do \
108 mv src/bin/$$f{,.bak} ;\ 108 mv src/bin/$$f{,.bak} ;\
109 sed "s,^#!.*lua.*,#!/usr/bin/env lua,;/^package.path/d" < src/bin/$$f.bak > src/bin/$$f ;\ 109 sed "s,^#!.*lua.*,#!/usr/bin/env lua,;/^package.path/d" < src/bin/$$f.bak > src/bin/$$f ;\
110 chmod +x src/bin/$$f ;\
110 rm src/bin/$$f.bak ;\ 111 rm src/bin/$$f.bak ;\
111 done 112 done
112 113