From b1f1af2657052eabcfdea99a23c192e07094584c Mon Sep 17 00:00:00 2001 From: Stefan Oehrli Date: Mon, 18 Jan 2021 07:55:05 +0100 Subject: [PATCH] fix profile path --- local/oudbase/bin/oudbase_install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/local/oudbase/bin/oudbase_install.sh b/local/oudbase/bin/oudbase_install.sh index 175350de..194c631c 100755 --- a/local/oudbase/bin/oudbase_install.sh +++ b/local/oudbase/bin/oudbase_install.sh @@ -545,10 +545,10 @@ fi # append to the profile.... if [ "${APPEND_PROFILE}" = "TRUE" ]; then - if [ -f "~/.bash_profile" ]; then - PROFILE="~/.bash_profile" - elif [ -f "~/.profile" ]; then - PROFILE="~/.profile" + if [ -f "$HOME/.bash_profile" ]; then + PROFILE="$HOME/.bash_profile" + elif [ -f "$HOME/.profile" ]; then + PROFILE="$HOME/.profile" else CleanAndQuit 20 fi