Skip to content

Commit

Permalink
Merge branch 'master' of github.com:jeonghanlee/phoebus-env
Browse files Browse the repository at this point in the history
  • Loading branch information
jeonghanlee committed Oct 18, 2024
2 parents f2b81f2 + 92cbacf commit dfb9c65
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/activate-phoebus.in
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ function set_variable
}


# THIS_SRC=${BASH_SOURCE[0]:-${0}}
THIS_SRC=${BASH_SOURCE[0]:-${0}}


# if [ -L $THIS_SRC ]; then
# SRC_PATH="$( cd -P "$( dirname $(readlink -f "$THIS_SRC") )" && pwd )"
# else
# SRC_PATH="$( cd -P "$( dirname "$THIS_SRC" )" && pwd )"
# fi
if [ -L $THIS_SRC ]; then
SRC_PATH="$( cd -P "$( dirname $(readlink -f "$THIS_SRC") )" && pwd )"
else
SRC_PATH="$( cd -P "$( dirname "$THIS_SRC" )" && pwd )"
fi

# SRC_NAME=${THIS_SRC##*/}

Expand Down

0 comments on commit dfb9c65

Please sign in to comment.