aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2012-03-09 21:37:32 -0300
committerHisham Muhammad <hisham@gobolinux.org>2012-03-09 21:37:32 -0300
commitc02b9ea700bcf8e7a345d5074a678f6e9bf5f89b (patch)
treece1706888036624eefb7486f0a3496660ab4b1bc /Makefile
parent37aded056fae788088855b36281b1d23b0131fdb (diff)
parentd2a4573ad42be8fe68bfd2b0aa73658f5748b1d8 (diff)
downloadluarocks-c02b9ea700bcf8e7a345d5074a678f6e9bf5f89b.tar.gz
luarocks-c02b9ea700bcf8e7a345d5074a678f6e9bf5f89b.tar.bz2
luarocks-c02b9ea700bcf8e7a345d5074a678f6e9bf5f89b.zip
Merge branch 'master' of github.com:keplerproject/luarocks
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6b1ff98f..ae89d90a 100644
--- a/Makefile
+++ b/Makefile
@@ -104,7 +104,8 @@ check_makefile:
104cleanup_bins: 104cleanup_bins:
105 for f in $(BIN_FILES) ;\ 105 for f in $(BIN_FILES) ;\
106 do \ 106 do \
107 sed -i.bak "s,^#!.*lua.*,#!/usr/bin/env lua,;/^package.path/d" src/bin/$$f ;\ 107 mv src/bin/$$f{,.bak} ;\
108 sed "s,^#!.*lua.*,#!/usr/bin/env lua,;/^package.path/d" < src/bin/$$f.bak > src/bin/$$f ;\
108 rm src/bin/$$f.bak ;\ 109 rm src/bin/$$f.bak ;\
109 done 110 done
110 111