mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-20 00:48:04 +00:00
CCv0: Fix PS1 unbound error
export PS1, so it is bound Fixes: #4531 Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
parent
0782f4a43b
commit
305532db02
@ -37,6 +37,8 @@ export PROFILE="${HOME}/.profile"
|
|||||||
if [ -r "${HOME}/.bash_profile" ]; then
|
if [ -r "${HOME}/.bash_profile" ]; then
|
||||||
export PROFILE="${HOME}/.bash_profile"
|
export PROFILE="${HOME}/.bash_profile"
|
||||||
fi
|
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
|
# Create a bunch of common, derived values up front so we don't need to create them in all the different functions
|
||||||
. ${PROFILE}
|
. ${PROFILE}
|
||||||
|
Loading…
Reference in New Issue
Block a user