[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: guix-install.sh: Expand mktemp template for busyb
From: |
guix-commits |
Subject: |
branch master updated: guix-install.sh: Expand mktemp template for busybox compatibility. |
Date: |
Wed, 16 Nov 2022 16:27:38 -0500 |
This is an automated email from the git hooks/post-receive script.
apteryx pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 6aa5d1dc24 guix-install.sh: Expand mktemp template for busybox
compatibility.
6aa5d1dc24 is described below
commit 6aa5d1dc24dc2607eb91cfafde1b3d903790cb1f
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Nov 16 16:23:15 2022 -0500
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>
---
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}"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: guix-install.sh: Expand mktemp template for busybox compatibility.,
guix-commits <=