aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2012-05-07 18:23:58 -0300
committerHisham Muhammad <hisham@gobolinux.org>2012-05-07 18:23:58 -0300
commit5e61fb7884ae23f9f44cd424c957ab583ba25786 (patch)
tree76b98cee65d13da0ab9b73fc283086b8101be46e
parent72cd4960de07675aa5d651ec2e783ddbff5b7c79 (diff)
downloadluarocks-5e61fb7884ae23f9f44cd424c957ab583ba25786.tar.gz
luarocks-5e61fb7884ae23f9f44cd424c957ab583ba25786.tar.bz2
luarocks-5e61fb7884ae23f9f44cd424c957ab583ba25786.zip
compatibility fix suggested by Themroc@github
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 18764556..7766e226 100644
--- a/Makefile
+++ b/Makefile
@@ -105,7 +105,7 @@ check_makefile:
105cleanup_bins: 105cleanup_bins:
106 for f in $(BIN_FILES) ;\ 106 for f in $(BIN_FILES) ;\
107 do \ 107 do \
108 mv src/bin/$$f{,.bak} ;\ 108 mv src/bin/$$f 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 chmod +x src/bin/$$f ;\
111 rm src/bin/$$f.bak ;\ 111 rm src/bin/$$f.bak ;\