Message ID | 20200531204257.18725-6-vincent.legoll@gmail.com |
---|---|
State | Under Review |
Delegated to: | Christopher Baines |
Headers | show |
Series | [bug#40601,1/7] guix-install.sh: Remove "[[" bashisms in chk_init_sys(). | expand |
Context | Check | Description |
---|---|---|
cbaines/comparison | success | View comparision |
cbaines/git branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
cbaines/comparison | success | View comparision |
cbaines/git branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
diff --git a/etc/guix-install.sh b/etc/guix-install.sh index 0e6e6842a1..7d635c2c38 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh @@ -210,7 +210,7 @@ guix_get_bin_list() | sed -n -e 's/.*guix-binary-\([0-9.]*\)\..*.tar.xz.*/\1/p' \ | sort -Vu)") - latest_ver="$(echo "$bin_ver_ls" \ + latest_ver="$(echo "${bin_ver_ls[0]}" \ | grep -oP "([0-9]{1,2}\.){2}[0-9]{1,2}" \ | tail -n1)" @@ -224,7 +224,7 @@ guix_get_bin_list() fi # Use default to download according to the list and local ARCH_OS. - BIN_VER="$default_ver" + BIN_VER="${default_ver}" } guix_get_bin()