HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e06df55
)
guix-install.sh: Expand mktemp template for busybox compatibility.
author
Maxim Cournoyer
<maxim.cournoyer@gmail.com>
Wed, 16 Nov 2022 21:23:15 +0000
(16:23 -0500)
committer
Maxim Cournoyer
<maxim.cournoyer@gmail.com>
Wed, 16 Nov 2022 21:23:15 +0000
(16:23 -0500)
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
patch
|
blob
|
blame
|
history
diff --git
a/etc/guix-install.sh
b/etc/guix-install.sh
index
88ca0e6
..
6bef21b
100755
(executable)
--- 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.XXX
XXX
)"
if [ -z "${GUIX_BINARY_FILE_NAME}" ]; then
guix_get_bin_list "${GNU_URL}"