bug#28317: Non-portable sh script - $RANDOM

2017-09-01 Thread Mathieu Lirzin
Hello, Eric Blake writes: > tag 28317 notabug > thanks > > On 09/01/2017 07:17 AM, Neven Sajko wrote: >> automake version 1.15.1, also in latest git master. >> >> See >> >> https://git.savannah.gnu.org/cgit/automake.git/tree/lib/install-sh#n327 > > Let's look at it in context: > > *)

bug#28317: Non-portable sh script - $RANDOM

2017-09-01 Thread Eric Blake
tag 28317 notabug thanks On 09/01/2017 07:17 AM, Neven Sajko wrote: > automake version 1.15.1, also in latest git master. > > See > > https://git.savannah.gnu.org/cgit/automake.git/tree/lib/install-sh#n327 Let's look at it in context: *) tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$

bug#28317: Non-portable sh script - $RANDOM

2017-09-01 Thread Neven Sajko
automake version 1.15.1, also in latest git master. See https://git.savannah.gnu.org/cgit/automake.git/tree/lib/install-sh#n327 The RANDOM variable giving pseudo-random numbers is not a POSIX sh feature. Dash, for example, does not implement it. So line 327 is probably wrong. Maybe this would