HCoop
/
jackhill
/
guix
/
guix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
guix-install.sh: Be POSIX-compliant.
[jackhill/guix/guix.git]
/
etc
/
guix-install.sh
diff --git
a/etc/guix-install.sh
b/etc/guix-install.sh
index
aa77d42
..
9768f1c
100755
(executable)
--- a/
etc/guix-install.sh
+++ b/
etc/guix-install.sh
@@
-212,7
+212,7
@@
guix_get_bin_list()
| sort -Vu)")
latest_ver="$(echo "$bin_ver_ls" \
| sort -Vu)")
latest_ver="$(echo "$bin_ver_ls" \
- | grep -o
P
"([0-9]{1,2}\.){2}[0-9]{1,2}" \
+ | grep -o
E
"([0-9]{1,2}\.){2}[0-9]{1,2}" \
| tail -n1)"
default_ver="guix-binary-${latest_ver}.${ARCH_OS}"
| tail -n1)"
default_ver="guix-binary-${latest_ver}.${ARCH_OS}"
@@
-268,8
+268,7
@@
sys_create_store()
_debug "--- [ $FUNCNAME ] ---"
cd "$tmp_path"
_debug "--- [ $FUNCNAME ] ---"
cd "$tmp_path"
- tar --warning=no-timestamp \
- --extract \
+ tar --extract \
--file "$pkg" &&
_msg "${PAS}unpacked archive"
--file "$pkg" &&
_msg "${PAS}unpacked archive"