aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7c1cb252..89993210 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