oh-my-bash: Quote parameter expansions properly

This commit is contained in:
Jacob Hrbek
2019-07-24 03:33:12 +02:00
committed by Koichi Murase
parent 31f095f3ac
commit b05f53558b

View File

@@ -8,7 +8,7 @@ fi
# Check for updates on initial load...
if [ "$DISABLE_AUTO_UPDATE" != "true" ]; then
env OSH=$OSH DISABLE_UPDATE_PROMPT=$DISABLE_UPDATE_PROMPT bash -f $OSH/tools/check_for_upgrade.sh
env OSH="$OSH" DISABLE_UPDATE_PROMPT="$DISABLE_UPDATE_PROMPT" bash -f "$OSH"/tools/check_for_upgrade.sh
fi
# Initializes Oh My Bash