Attempt to get the current working directory

This commit is contained in:
Timothy Warren 2018-01-31 13:56:00 -05:00
parent 57565f6bfc
commit aa6216ca37

View File

@ -4,7 +4,8 @@
[[ ! -e /.dockerenv ]] && [[ ! -e /.dockerinit ]] && exit 0
# 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