aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2012-03-10 12:59:06 -0300
committerHisham Muhammad <hisham@gobolinux.org>2012-03-10 12:59:06 -0300
commit712cdc765e3e9cc7c4d7abc7a772d8022acdfbd1 (patch)
treeefa2ccb02a8c1f68eda17a0965e308f404d27c68
parentc02b9ea700bcf8e7a345d5074a678f6e9bf5f89b (diff)
downloadluarocks-712cdc765e3e9cc7c4d7abc7a772d8022acdfbd1.tar.gz
luarocks-712cdc765e3e9cc7c4d7abc7a772d8022acdfbd1.tar.bz2
luarocks-712cdc765e3e9cc7c4d7abc7a772d8022acdfbd1.zip
fix the generation of the #! headers
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ae89d90a..9742ff97 100644
--- a/Makefile
+++ b/Makefile
@@ -72,7 +72,7 @@ dev: cleanup_bins
72build_bins: 72build_bins:
73 for f in $(BIN_FILES) ;\ 73 for f in $(BIN_FILES) ;\
74 do \ 74 do \
75 sed "1d" src/bin/$$f >> src/bin/$$f.bak ;\ 75 sed "1d" src/bin/$$f > src/bin/$$f.bak ;\
76 echo "#!$(LUA_BINDIR)/lua$(LUA_SUFFIX)" > src/bin/$$f ;\ 76 echo "#!$(LUA_BINDIR)/lua$(LUA_SUFFIX)" > src/bin/$$f ;\
77 echo "package.path = [[$(LUADIR)/?.lua;$(LUADIR)/?/init.lua;]]..package.path" >> src/bin/$$f ;\ 77 echo "package.path = [[$(LUADIR)/?.lua;$(LUADIR)/?/init.lua;]]..package.path" >> src/bin/$$f ;\
78 cat src/bin/$$f.bak >> src/bin/$$f ;\ 78 cat src/bin/$$f.bak >> src/bin/$$f ;\