Merge pull request #4532 from stevenhorsman/CCv0-PS1-unbound

CCv0: Fix PS1 unbound error
This commit is contained in:
Steve Horsman
2022-06-25 18:08:24 +01:00
committed by GitHub

View File

@@ -37,6 +37,8 @@ export PROFILE="${HOME}/.profile"
if [ -r "${HOME}/.bash_profile" ]; then
export PROFILE="${HOME}/.bash_profile"
fi
# Stop PS1: unbound variable error happening
export PS1=${PS1:-}
# Create a bunch of common, derived values up front so we don't need to create them in all the different functions
. ${PROFILE}