diff --git a/scripts/pipeline-launch/launch.sh b/scripts/pipeline-launch/launch.sh index e0410149b9..f3aaca8071 100755 --- a/scripts/pipeline-launch/launch.sh +++ b/scripts/pipeline-launch/launch.sh @@ -1171,6 +1171,9 @@ echo Executing task echo "-" ###################################################### +# Check whether there are any capabilities init scripts available and execute them before main SCRIPT +cp_cap_init + # As some environments do not support "sleep infinity" command - it is substituted with "sleep 10000d" SCRIPT="${SCRIPT/sleep infinity/sleep 10000d}" @@ -1181,9 +1184,6 @@ fi cd $ANALYSIS_DIR echo "CWD is now at $ANALYSIS_DIR" -# Check whether there are any capabilities init scripts available and execute them before main SCRIPT -cp_cap_init - # Tell the environment that initilization phase is finished and a source script is going to be executed pipe_log SUCCESS "Environment initialization finished" "InitializeEnvironment"