From a3dca901a470e57f8fdbfc76981518039ddc400e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=A9=AC=E5=93=A5?= Date: Sun, 3 Sep 2023 15:00:18 +0800 Subject: [PATCH] fixed space in $PATH --- scripts/function/munge_path | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/function/munge_path b/scripts/function/munge_path index 257c6fe3..bd5a1ab2 100644 --- a/scripts/function/munge_path +++ b/scripts/function/munge_path @@ -48,7 +48,7 @@ __gvm_munge_path() { return 1 fi - IFS=': ' path_in_ary=( $(printf "%s" "${path_in}") ) IFS="$defaultIFS" + IFS=':' path_in_ary=( $(printf "%s" "${path_in}") ) IFS="$defaultIFS" # extract path elements local _path