Skip to content

Commit

Permalink
Merge pull request opensciencegrid#10 from brianhlin/v1_18_bosco
Browse files Browse the repository at this point in the history
Fix condor_submit syntax error
  • Loading branch information
bbockelm committed May 21, 2015
2 parents 5d72c27 + 0a03709 commit bdfc978
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/condor_submit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ if [ ${#remap_files[@]} -gt 0 ] ; then
if [ ! -z "${remap_files[0]}" ] ; then
map=${remap_files[$i]}
else
map=${output_files$i]}
map=${output_files[$i]}
fi
transfer_output_remaps="$transfer_output_remaps;${output_files[$i]}=$map"
done
Expand Down
6 changes: 6 additions & 0 deletions src/scripts/pbs_submit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,12 @@ fi

# The job id is actually the first numbers in the string (slurm support)
jobID=`echo $jobID | awk 'match($0,/[0-9]+/){print substr($0, RSTART, RLENGTH)}'`
if [ "X$jobID" == "X" ]; then
rm -f $bls_tmp_file
echo "Error: job id missing" >&2
echo Error # for the sake of waiting fgets in blahpd
exit 1
fi

if [ "x$pbs_nologaccess" != "xyes" -a "x$pbs_nochecksubmission" != "xyes" ]; then

Expand Down

0 comments on commit bdfc978

Please sign in to comment.