Attempt to get the current working directory
This commit is contained in:
parent
57565f6bfc
commit
aa6216ca37
@ -4,7 +4,8 @@
|
|||||||
[[ ! -e /.dockerenv ]] && [[ ! -e /.dockerinit ]] && exit 0
|
[[ ! -e /.dockerenv ]] && [[ ! -e /.dockerinit ]] && exit 0
|
||||||
|
|
||||||
# Where am I?
|
# Where am I?
|
||||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
a="/$0"; a=${a%/*}; a=${a:-.}; a=${a#/}/; DIR=$(cd $a; pwd)
|
||||||
|
#DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user