From 30d9e2bddb873f6c6bd7bec386fe9b17b861f974 Mon Sep 17 00:00:00 2001 From: SP Mohanty Date: Wed, 28 Nov 2018 17:34:03 +0100 Subject: [PATCH] Update run.sh --- run.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/run.sh b/run.sh index f6fd846..a6aa5c2 100755 --- a/run.sh +++ b/run.sh @@ -1,8 +1,12 @@ #!/bin/bash -# Use This line would work in case of the docker container -# Else the relevant env variables will not be loaded during evaluatino -source activate root -echo "root" +if [[ -z "${CROWDAI_MARLO_GRADING}" ]]; then + source activate marlo #Use This line would work in case of local debugs; + # in a local debug setup, you should use your env name instead of marlo + echo "marlo" +else + source activate root #Use This line would work in case of the docker container + echo "root" +fi python run.py