guix-install.sh: Expand mktemp template for busybox compatibility.
Fixes <https://issues.guix.gnu.org/58858>. * 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 <contact@conses.eu>
parent
e06df550e2
commit
6aa5d1dc24
|
@ -633,7 +633,7 @@ main()
|
||||||
_msg "${INF}system is ${ARCH_OS}"
|
_msg "${INF}system is ${ARCH_OS}"
|
||||||
|
|
||||||
umask 0022
|
umask 0022
|
||||||
tmp_path="$(mktemp -t -d guix.XXX)"
|
tmp_path="$(mktemp -t -d guix.XXXXXX)"
|
||||||
|
|
||||||
if [ -z "${GUIX_BINARY_FILE_NAME}" ]; then
|
if [ -z "${GUIX_BINARY_FILE_NAME}" ]; then
|
||||||
guix_get_bin_list "${GNU_URL}"
|
guix_get_bin_list "${GNU_URL}"
|
||||||
|
|
Reference in New Issue