mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-21 22:34:05 +00:00
configure: Fix string equality
This commit is contained in:
parent
80a95e34fe
commit
295148862a
2
configure
vendored
2
configure
vendored
@ -856,7 +856,7 @@ probe_need CFG_CMAKE cmake
|
||||
if [ -n "$CFG_ANTLR4" ]
|
||||
then
|
||||
CFG_ANTLR4_JAR="\"$(find /usr/ -name antlr-complete.jar 2>/dev/null | head -n 1)\""
|
||||
if [ "x" -eq "x$CFG_ANTLR4_JAR" ]
|
||||
if [ "x" = "x$CFG_ANTLR4_JAR" ]
|
||||
then
|
||||
CFG_ANTLR4_JAR="\"$(find ~ -name antlr-complete.jar 2>/dev/null | head -n 1)\""
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user