Skip to content

Commit 9fba8df

Browse files
authored
Auto merge of #37924 - brson:config-bug, r=alexcrichton
configure: Fix string equality
2 parents ccdc26f + 2951488 commit 9fba8df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure

+1-1
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ probe_need CFG_CMAKE cmake
856856
if [ -n "$CFG_ANTLR4" ]
857857
then
858858
CFG_ANTLR4_JAR="\"$(find /usr/ -name antlr-complete.jar 2>/dev/null | head -n 1)\""
859-
if [ "x" -eq "x$CFG_ANTLR4_JAR" ]
859+
if [ "x" = "x$CFG_ANTLR4_JAR" ]
860860
then
861861
CFG_ANTLR4_JAR="\"$(find ~ -name antlr-complete.jar 2>/dev/null | head -n 1)\""
862862
fi

0 commit comments

Comments
 (0)