Skip to content

Commit 88bda65

Browse files
committed
better fix for multiple env vars in test executor
1 parent 1a46f26 commit 88bda65

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/plugins1/_batch_test/test/test.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ done
4343
export PSIJ_NODEFILE
4444

4545
{{#job.spec.inherit_environment}}env \{{/job.spec.inherit_environment}}{{^job.spec.inherit_environment}}env --ignore-environment \{{/job.spec.inherit_environment}}{{#env}}
46-
{{name}}="{{value}}" \
47-
{{/env}}{{#psij.launch_command}}{{.}} {{/psij.launch_command}}
46+
{{name}}="{{value}}" \{{/env}}
47+
{{#psij.launch_command}}{{.}} {{/psij.launch_command}}
4848

49-
echo "$?" > "{{psij.script_dir}}/$PSIJ_BATCH_TEST_JOB_ID.ec"
49+
echo "$?" > "{{psij.script_dir}}/$PSIJ_BATCH_TEST_JOB_ID.ec"

0 commit comments

Comments
 (0)