fix: [bash] As we instantiate from a subdirectory, we need to take this into account.

This commit is contained in:
Steve Clement 2018-11-22 15:08:59 +09:00
parent e4ced241eb
commit 41a34b3519

View file

@ -10,7 +10,7 @@ YELLOW="\\033[1;33m"
CYAN="\\033[1;36m" CYAN="\\033[1;36m"
# Getting CWD where bash script resides # Getting CWD where bash script resides
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd |sed 's/bin//' )"
AIL_HOME="${DIR}" AIL_HOME="${DIR}"
cd ${AIL_HOME} cd ${AIL_HOME}