From 38ba00fe99703447f34616caa15012c1d1e5dbf9 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 22 Oct 2018 23:34:20 -0400 Subject: Fixed Makefile rule for rebuilding lua src directory. Some lualibs files are read-only. --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Makefile b/src/Makefile index 67f28091..f0a6a807 100644 --- a/src/Makefile +++ b/src/Makefile @@ -391,7 +391,7 @@ $(lua_tgz): ; wget http://www.lua.org/ftp/$@ $(lpeg_tgz): ; wget http://www.inf.puc-rio.br/~roberto/lpeg/$@ $(lfs_zip): ; wget http://github.com/keplerproject/luafilesystem/archive/$@ lua: lua.patch | $(lua_tgz) - if [ -d $@ ]; then rm -r $@; fi + if [ -d $@ ]; then rm -rf $@; fi mkdir $@ && tar xzf $| -C $@ && mv $@/*/* $@ patch -d $@ -N -p1 < $< lualibs: lua/src/lib/lpeg lua/src/lib/lfs -- cgit v1.2.3