diff options
author | Adam Joseph <adam@westernsemico.com> | 2022-06-22 12:46:22 -0700 |
---|---|---|
committer | Adam Joseph <adam@westernsemico.com> | 2022-06-22 12:46:22 -0700 |
commit | 97bf76b3b370e5031b38cd6e33009b43e067c5aa (patch) | |
tree | 806f14f38d9ad782b7c7141bc0abae63822b2e04 /pkgs/stdenv | |
parent | 9a2405d6575c2026a994e24529958491feb5d4ce (diff) |
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.
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r-- | pkgs/stdenv/generic/setup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/stdenv/generic/setup.sh b/pkgs/stdenv/generic/setup.sh index 40ffd9344e34d..488540c1b4443 100644 --- a/pkgs/stdenv/generic/setup.sh +++ b/pkgs/stdenv/generic/setup.sh @@ -1026,7 +1026,7 @@ configurePhase() { # scripts with vendored libtool code. Preserve mtimes to # prevent some packages (e.g. libidn2) from spontaneously # autoreconf'ing themselves - CONFIGURE_MTIME_REFERENCE=$(mktemp configure.mtime.reference.XXX) + CONFIGURE_MTIME_REFERENCE=$(mktemp configure.mtime.reference.XXXXXX) find . \ -executable \ -type f \ |