Skip to content

Commit d98fb0f

Browse files
committed
configure: remove bashism.
== is bash-only; for other shells this gives an error (meaning that you won't get the sanity check): ./configure Compiling ccan/tools/configurator/configurator...done ./configure: 148: [: gcc: unexpected operator Signed-off-by: Rusty Russell <[email protected]>
1 parent 02faadf commit d98fb0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ if [ -z "$VALGRIND" ]; then
145145
fi
146146

147147
if [ "$ASAN" = "1" ]; then
148-
if [ "$CC" == "clang" ]; then
148+
if [ "$CC" = "clang" ]; then
149149
echo "Address sanitizer (ASAN) is currently only supported with gcc"
150150
exit 1
151151
fi

0 commit comments

Comments
 (0)