Skip to content
Snippets Groups Projects

Bugfix to parse_cmd.sh: allow absence of minq2

Merged Wouter Deconinck requested to merge wdconinc-master-patch-94991 into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -108,7 +108,7 @@ elif [ -z $MINQ2 ] && [ ! -z $REQUIRE_MINQ2 ]; then
@@ -108,7 +108,7 @@ elif [ -z $MINQ2 ] && [ ! -z $REQUIRE_MINQ2 ]; then
echo "ERROR: MINQ2 not defined: --minq2 <energy>"
echo "ERROR: MINQ2 not defined: --minq2 <energy>"
print_the_help
print_the_help
exit 1
exit 1
elif [ -z $MINQ2 ] && [ -z $REQUIRE_MINQ2 ]; then
elif [ ! -z $MINQ2 ] && [ -z $REQUIRE_MINQ2 ]; then
echo "ERROR: MINQ2 flag specified but not required"
echo "ERROR: MINQ2 flag specified but not required"
print_the_help
print_the_help
exit 1
exit 1
Loading