fix(posix): double quote vars that require it

This commit is contained in:
AJ ONeal
2022-08-21 04:23:04 +00:00
parent a87e38b3e5
commit 0d611cb246

View File

@@ -407,7 +407,7 @@ __bootstrap_webi() {
webi_path_add "$HOME/.local/bin"
if [ -z "${_WEBI_CHILD:-}" ] && [ -f "$_webi_tmp/.PATH.env" ]; then
if [ -n $(cat "$_webi_tmp/.PATH.env") ]; then
if [ -n "$(cat "$_webi_tmp/.PATH.env")" ]; then
printf 'PATH.env updated with:\n'
sort -u "$_webi_tmp/.PATH.env"
printf "\n"