Skip to content

Commit 99673fd

Browse files
committed
wrap $arg2 in quotes to keep bash happy when it is undefined
1 parent e807624 commit 99673fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/compile_solvers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export MNAME=`uname -m`
2525
export IDAES_EXT=`pwd`
2626

2727
arg2=$2
28-
if [ $arg2 = "--without-hsl" ]; then
28+
if [ "$arg2" = "--without-hsl" ]; then
2929
echo "--without-hsl flag received. Building solvers without HSL." >&2
3030
echo "HSL: NO"
3131
hslflag="--without-hsl"

0 commit comments

Comments
 (0)