Fail fetch-lua in Unix Makefile more gracefully
If missing curl or failing to download the lua tarball, don't try to untar the nonexistent file.
This commit is contained in:
@@ -257,9 +257,9 @@ fetch-lua: fetch-Lua
|
|||||||
@true
|
@true
|
||||||
|
|
||||||
fetch-Lua:
|
fetch-Lua:
|
||||||
( mkdir -p lib ; cd lib ; \
|
( mkdir -p lib && cd lib && \
|
||||||
curl -R -O http://www.lua.org/ftp/lua-$(LUA_VERSION).tar.gz ; \
|
curl -R -O http://www.lua.org/ftp/lua-$(LUA_VERSION).tar.gz && \
|
||||||
tar zxf lua-$(LUA_VERSION).tar.gz ; rm -f lua-$(LUA_VERSION).tar.gz )
|
tar zxf lua-$(LUA_VERSION).tar.gz && rm -f lua-$(LUA_VERSION).tar.gz )
|
||||||
|
|
||||||
update: $(GAME) recover $(VARDAT) spec_levs
|
update: $(GAME) recover $(VARDAT) spec_levs
|
||||||
# (don't yank the old version out from under people who're playing it)
|
# (don't yank the old version out from under people who're playing it)
|
||||||
|
|||||||
Reference in New Issue
Block a user