Skip to content
Snippets Groups Projects
Commit 9fcae73c authored by Lukas Werner's avatar Lukas Werner
Browse files

Removed echo

parent 9cdcaae6
Branches
No related tags found
No related merge requests found
......@@ -76,7 +76,6 @@ then
SALLOC_OPTIONS=()
for E in $(env | grep -E "^SLURM_")
do
echo $E
SALLOC_OPTIONS+=("$(echo "${E#SLURM_}" | awk -F "=" '{gsub("_", "-", $1); print "--"tolower($1)"="$2}')")
done
......@@ -85,7 +84,6 @@ then
exec salloc --quiet --uid "$AUTH_USER" --gid "$(id -g -n "$AUTH_USER")" --chdir "$BASE_DIR" "${SALLOC_OPTIONS[@]}" \
srun --cpu-bind none --export=HOME="$AUTH_USER_HOME",SHELL="$AUTH_USER_SHELL" --wait 0 --kill-on-bad-exit=1 \
"$AUTH_USER_SHELL" --login "$BASE_DIR.tmp/$CUSTOM_ENV_CI_JOB_ID.sh"
else
runuser --login "$AUTH_USER" --command "cd \"$BASE_DIR\"; $1"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment