setup.sh: use six X characters in mktemp invocation

Closes #178625

The `busybox` version of `mktemp` requires exactly six `X` characters
in the argument to `mktemp`, unlike the `coreutils` version of `mktemp`.

Let's accomodate packages, like `epson-escpr2`, which fool `setup.sh`
into using the `busybox` version instead of the `stdenv` version.
This commit is contained in:
Adam Joseph 2022-06-22 12:46:22 -07:00
parent 9a2405d657
commit 97bf76b3b3

View file

@ -1026,7 +1026,7 @@ configurePhase() {
# scripts with vendored libtool code. Preserve mtimes to # scripts with vendored libtool code. Preserve mtimes to
# prevent some packages (e.g. libidn2) from spontaneously # prevent some packages (e.g. libidn2) from spontaneously
# autoreconf'ing themselves # autoreconf'ing themselves
CONFIGURE_MTIME_REFERENCE=$(mktemp configure.mtime.reference.XXX) CONFIGURE_MTIME_REFERENCE=$(mktemp configure.mtime.reference.XXXXXX)
find . \ find . \
-executable \ -executable \
-type f \ -type f \