From b93b62ae778905518a5c0d7703cc3e93f2c2ba02 Mon Sep 17 00:00:00 2001 From: Marius van den Beek Date: Wed, 13 Apr 2016 12:35:20 +0200 Subject: [PATCH] Place $headers before integrity_check PBS needs the resource selection (which will be filled in using $headers) to appear before anything else (except the shebang), so this changes the order. --- .../jobs/runners/util/job_script/DEFAULT_JOB_FILE_TEMPLATE.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/jobs/runners/util/job_script/DEFAULT_JOB_FILE_TEMPLATE.sh b/lib/galaxy/jobs/runners/util/job_script/DEFAULT_JOB_FILE_TEMPLATE.sh index eadad98eaf4..6b3c283bd2e 100644 --- a/lib/galaxy/jobs/runners/util/job_script/DEFAULT_JOB_FILE_TEMPLATE.sh +++ b/lib/galaxy/jobs/runners/util/job_script/DEFAULT_JOB_FILE_TEMPLATE.sh @@ -1,7 +1,7 @@ #!$shell -$integrity_injection $headers +$integrity_injection $slots_statement export GALAXY_SLOTS GALAXY_LIB="$galaxy_lib"