% make spotless % sh sys/unix/setup.sh sys/unix/hints/macOS.2020 % make fetch-Lua worked, but the last ended with |rm include/nhlua.h |rm: include/nhlua.h: No such file or directory |make: [fetch-Lua] Error 1 (ignored) which might frighten skittish users (like me). Check whether the constructed header file exists (so is assumed to be for an earlier Lua version) and only delete it in that case. No more scary report of benign failure when it isn't there (after 'make spotless' or for brand new source setup). Also, some time ago we came to the conclusion that 'if [ ]' was an extension for GNU 'bash' and wouldn't work with some older actual 'sh' implementations. This replaces the one post-3.6 instance of |if [ ! -d foo ] then bar; fi in Makefile.top with |if test -d foo; then true; else bar; fi Testing was successful but done with bash rather than an old sh. :-}
11 KiB
11 KiB