We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9926954 commit d27fb75Copy full SHA for d27fb75
buildsystem/build.sh
@@ -221,7 +221,16 @@ module purge
221
varfile="$SRCDIR/buildsystem/$JOB/$(echo $MY_CLUSTER)Variables.sh"
222
223
if [[ -f "$varfile" ]]; then
224
- source $varfile || { echo "Could not source $varfile"; exit 1; }
+ source $varfile
225
+ if [ $? ]; then
226
+ if [[ $MY_CLUSTER==frontier ]]; then
227
+ echo "Allowing non-zero exit code for $varfile."
228
+ echo "Frontier modules are currently generating warnings that will go away in future updates."
229
+ else
230
+ echo "Could not source $varfile";
231
+ exit 1;
232
+ fi
233
234
fi
235
236
# module list
0 commit comments