Skip to content

Commit

Permalink
Moved shell directive from sh to bash; added exit when job file not f…
Browse files Browse the repository at this point in the history
…ound
  • Loading branch information
Lucas Wilson committed Aug 9, 2016
1 parent 85c72f4 commit cea045e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions paramrun
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/bin/sh


#!/bin/bash


if [ -z $LAUNCHER_DIR ]
Expand Down Expand Up @@ -112,6 +110,7 @@ else
export LAUNCHER_NJOBS=`wc -l $LAUNCHER_JOB_FILE | awk '{print $1}'`
else
echo "ERROR: LAUNCHER_JOB_FILE ($LAUNCHER_JOB_FILE) not found." >&2
exit
fi
fi

Expand Down

0 comments on commit cea045e

Please sign in to comment.