diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2019-09-05 15:59:26 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2019-09-05 15:59:26 -0300 |
| commit | d379c973744c99ee9a07c7893de1b9c7a738ff6a (patch) | |
| tree | d4f943764a359e7b7801c730af8d4acc47aa8019 | |
| parent | 9a200cfd21b2179bd27ce866096a972115a55285 (diff) | |
| download | luarocks-d379c973744c99ee9a07c7893de1b9c7a738ff6a.tar.gz luarocks-d379c973744c99ee9a07c7893de1b9c7a738ff6a.tar.bz2 luarocks-d379c973744c99ee9a07c7893de1b9c7a738ff6a.zip | |
GNUmakefile: fix concatenation
| -rw-r--r-- | GNUmakefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index 251ab00d..04d1cca0 100644 --- a/GNUmakefile +++ b/GNUmakefile | |||
| @@ -69,7 +69,7 @@ $(builddir)/luarocks: src/bin/luarocks config.unix | |||
| 69 | 'package.loaded["luarocks.core.hardcoded"] = { '\ | 69 | 'package.loaded["luarocks.core.hardcoded"] = { '\ |
| 70 | "$$([ -n "$(FORCE_CONFIG)" ] && printf 'FORCE_CONFIG = true, ')"\ | 70 | "$$([ -n "$(FORCE_CONFIG)" ] && printf 'FORCE_CONFIG = true, ')"\ |
| 71 | 'SYSCONFDIR = [[$(luarocksconfdir)]] }\n'\ | 71 | 'SYSCONFDIR = [[$(luarocksconfdir)]] }\n'\ |
| 72 | 'package.path=[[$(luadir)/?.lua;]] .. package.path\n'; \ | 72 | 'package.path=[[$(luadir)/?.lua;]] .. package.path\n'\ |
| 73 | 'local list = package.searchers or package.loaders; table.insert(list, 1, function(name) if name:match("^luarocks%%.") then return loadfile([[$(luadir)/]] .. name:gsub([[%%.]], [[/]]) .. [[.lua]]) end end)\n'; \ | 73 | 'local list = package.searchers or package.loaders; table.insert(list, 1, function(name) if name:match("^luarocks%%.") then return loadfile([[$(luadir)/]] .. name:gsub([[%%.]], [[/]]) .. [[.lua]]) end end)\n'; \ |
| 74 | tail -n +2 src/bin/luarocks \ | 74 | tail -n +2 src/bin/luarocks \ |
| 75 | )> "$@" | 75 | )> "$@" |
| @@ -80,7 +80,7 @@ $(builddir)/luarocks-admin: src/bin/luarocks-admin config.unix | |||
| 80 | 'package.loaded["luarocks.core.hardcoded"] = { '\ | 80 | 'package.loaded["luarocks.core.hardcoded"] = { '\ |
| 81 | "$$([ -n "$(FORCE_CONFIG)" ] && printf 'FORCE_CONFIG = true, ')"\ | 81 | "$$([ -n "$(FORCE_CONFIG)" ] && printf 'FORCE_CONFIG = true, ')"\ |
| 82 | 'SYSCONFDIR = [[$(luarocksconfdir)]] }\n'\ | 82 | 'SYSCONFDIR = [[$(luarocksconfdir)]] }\n'\ |
| 83 | 'package.path=[[$(luadir)/?.lua;]] .. package.path\n'; \ | 83 | 'package.path=[[$(luadir)/?.lua;]] .. package.path\n'\ |
| 84 | 'local list = package.searchers or package.loaders; table.insert(list, 1, function(name) if name:match("^luarocks%%.") then return loadfile([[$(luadir)/]] .. name:gsub([[%%.]], [[/]]) .. [[.lua]]) end end)\n'; \ | 84 | 'local list = package.searchers or package.loaders; table.insert(list, 1, function(name) if name:match("^luarocks%%.") then return loadfile([[$(luadir)/]] .. name:gsub([[%%.]], [[/]]) .. [[.lua]]) end end)\n'; \ |
| 85 | tail -n +2 src/bin/luarocks-admin \ | 85 | tail -n +2 src/bin/luarocks-admin \ |
| 86 | )> "$@" | 86 | )> "$@" |
