diff --git a/scripts/scheduler/entrypoint.sh b/scripts/scheduler/entrypoint.sh index 1c430f3..623681e 100644 --- a/scripts/scheduler/entrypoint.sh +++ b/scripts/scheduler/entrypoint.sh @@ -169,7 +169,8 @@ get_repositories(){ if [ ! -d "/tmp/$BASE" ]; then git clone $REPO /tmp/$BASE; else - git pull $REPO /tmp/$BASE; + cd /tmp/$BASE; + git pull; fi; if [ -f "/tmp/$BASE/applications-tree.json" ]; then TREES=$TREES" /tmp/$BASE/applications-tree.json"