From b5d50b2a8111927c7ab4f35647e0511aae1a2323 Mon Sep 17 00:00:00 2001 From: Steve Clement Date: Mon, 23 Jul 2018 10:41:44 +0200 Subject: [PATCH] chg: [docker] allow arg as a parameter --- docker_start.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker_start.sh b/docker_start.sh index 52f40338..e4dd5f21 100755 --- a/docker_start.sh +++ b/docker_start.sh @@ -5,7 +5,11 @@ export PATH=$AIL_HOME:$PATH export PATH=$AIL_REDIS:$PATH export PATH=$AIL_LEVELDB:$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/"