From 6aa5d1dc24dc2607eb91cfafde1b3d903790cb1f Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Wed, 16 Nov 2022 16:23:15 -0500 Subject: guix-install.sh: Expand mktemp template for busybox compatibility. Fixes . * etc/guix-install.sh (main): Use 6 'X' characters in the template, as this is the minimum required by Busybox's mktemp (which matches glibc's mktemp behavior). Reported-by: conses --- etc/guix-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/guix-install.sh b/etc/guix-install.sh index 88ca0e61ea..6bef21bb7e 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh @@ -633,7 +633,7 @@ main() _msg "${INF}system is ${ARCH_OS}" umask 0022 - tmp_path="$(mktemp -t -d guix.XXX)" + tmp_path="$(mktemp -t -d guix.XXXXXX)" if [ -z "${GUIX_BINARY_FILE_NAME}" ]; then guix_get_bin_list "${GNU_URL}" -- cgit v1.2.3