diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2012-03-10 12:59:06 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2012-03-10 12:59:06 -0300 |
| commit | 712cdc765e3e9cc7c4d7abc7a772d8022acdfbd1 (patch) | |
| tree | efa2ccb02a8c1f68eda17a0965e308f404d27c68 /Makefile | |
| parent | c02b9ea700bcf8e7a345d5074a678f6e9bf5f89b (diff) | |
| download | luarocks-712cdc765e3e9cc7c4d7abc7a772d8022acdfbd1.tar.gz luarocks-712cdc765e3e9cc7c4d7abc7a772d8022acdfbd1.tar.bz2 luarocks-712cdc765e3e9cc7c4d7abc7a772d8022acdfbd1.zip | |
fix the generation of the #! headers
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -72,7 +72,7 @@ dev: cleanup_bins | |||
| 72 | build_bins: | 72 | build_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 ;\ |
