chg: [docker] allow arg as a parameter

This commit is contained in:
Steve Clement 2018-07-23 10:41:44 +02:00
parent 72d7cd1681
commit b5d50b2a81

View file

@ -5,7 +5,11 @@ export PATH=$AIL_HOME:$PATH
export PATH=$AIL_REDIS:$PATH export PATH=$AIL_REDIS:$PATH
export PATH=$AIL_LEVELDB:$PATH export PATH=$AIL_LEVELDB:$PATH
export PATH=$AIL_ARDB:$PATH export PATH=$AIL_ARDB:$PATH
export AILENV=/opt/AIL if [ -z $1 ]; then
export AILENV=/opt/AIL
else
export AILENV=$1
fi
conf_dir="${AIL_HOME}/configs/" conf_dir="${AIL_HOME}/configs/"