diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2012-09-18 18:19:22 -0300 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2012-09-18 18:19:22 -0300 |
| commit | 7134f592a0a2064fd04f0e169d7801b51504e4c6 (patch) | |
| tree | 14bd7abdac8cc2b20b9287fe2a90bb24215e135b /Makefile | |
| parent | b1a36075e3a63167e97c124d2923ae1b10e07c29 (diff) | |
| download | luarocks-7134f592a0a2064fd04f0e169d7801b51504e4c6.tar.gz luarocks-7134f592a0a2064fd04f0e169d7801b51504e4c6.tar.bz2 luarocks-7134f592a0a2064fd04f0e169d7801b51504e4c6.zip | |
Add mirroring support. String-array entries in the array of
rocks_servers will be treated as a list of mirrors.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 3 |
1 files changed, 0 insertions, 3 deletions
| @@ -136,9 +136,6 @@ write_sysconfig: built | |||
| 136 | if [ ! -f "$(DESTDIR)$(CONFIG_FILE)" ] ;\ | 136 | if [ ! -f "$(DESTDIR)$(CONFIG_FILE)" ] ;\ |
| 137 | then \ | 137 | then \ |
| 138 | mkdir -p `dirname "$(DESTDIR)$(CONFIG_FILE)"` ;\ | 138 | mkdir -p `dirname "$(DESTDIR)$(CONFIG_FILE)"` ;\ |
| 139 | echo 'rocks_servers = {' >> "$(DESTDIR)$(CONFIG_FILE)" ;\ | ||
| 140 | echo ' [[http://luarocks.org/repositories/rocks]]' >> "$(DESTDIR)$(CONFIG_FILE)" ;\ | ||
| 141 | echo '}' >> "$(DESTDIR)$(CONFIG_FILE)" ;\ | ||
| 142 | echo 'rocks_trees = {' >> "$(DESTDIR)$(CONFIG_FILE)" ;\ | 139 | echo 'rocks_trees = {' >> "$(DESTDIR)$(CONFIG_FILE)" ;\ |
| 143 | if [ ! -n "$(FORCE_CONFIG)" ] ;\ | 140 | if [ ! -n "$(FORCE_CONFIG)" ] ;\ |
| 144 | then \ | 141 | then \ |
