Fix cd moving the user to the file's directory.
This commit is contained in:
@@ -5,8 +5,10 @@
|
||||
|
||||
DIR="$(dirname -- "${BASH_SOURCE[0]}")"
|
||||
if [[ "$DIR" == '.'* ]]; then
|
||||
RETURN="`pwd`"
|
||||
cd $DIR
|
||||
DIR="`pwd`"
|
||||
cd "$RETURN"
|
||||
fi
|
||||
|
||||
DOCKER_HOME="$DIR"
|
||||
|
Reference in New Issue
Block a user