Skip to content

Commit

Permalink
updated entrypoint.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Steiner <ssteiner@juniper.net>
  • Loading branch information
Stephen Steiner committed Sep 28, 2020
1 parent db3886c commit 2bed78c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function pip_install {

function run_scripts {
echo "Executing defined script"
python3 "$1"
python3 $1 ${@:2}
}

## Manually defined variables will take precedence
Expand All @@ -34,7 +34,7 @@ elif [ -f "/extras/requirements.txt" ];then REQ="/extras/requirements.txt"
else REQ=''
fi

if [ "$1" ]; then SCRIPT=$1
if [ "$#" ]; then SCRIPT=$@
else SCRIPT=''
fi

Expand Down

0 comments on commit 2bed78c

Please sign in to comment.