From: Bruno H. <br...@cl...> - 2017-03-20 09:36:28
|
Hi Reini, > README, README.de, README.es, clisp.c, ... all clash > with parallel builds using the same intermediate > txt binaries and txt.c sources. > Rename them. > > Use a $(( $i + 1 )) shell function, which should be portable across > all shells. > See https://github.com/rurban/clisp/issues/1 Thanks, I applied this with modifications: 1. No, $(( $i + 1 )) is not portable shell syntax. The portable shell syntax is `expr $i + 1`. For portable shell syntax, always reference the chapter "Portable Shell Programming" [1]. 2. Here too, I like a more descriptive name: 'gen-foo.c', not 'txt4.c'. (The original code did not do this, because it was bound to Windows 8+3 file name limitations, and 'gen-README.de.c' was an invalid file name in that environment.) Bruno [1] https://www.gnu.org/software/autoconf/manual/autoconf.html#Portable-Shell |