Use portable string comparison
We support == in /bin/sh now, but it ought to be avoided, and my use of it was accidental.
This commit is contained in:
parent
1d7466bca4
commit
e60c420fa3
@ -240,7 +240,7 @@ EOF
|
||||
|
||||
# Work around BIND_UTILS=no being the default when every WITH_
|
||||
# option is enabled.
|
||||
if [ "$(cat $t/deps2)" == WITHOUT_BIND_UTILS ]; then
|
||||
if [ "$(cat $t/deps2)" = WITHOUT_BIND_UTILS ]; then
|
||||
sort $t/deps $t/deps2 > $t/_deps
|
||||
mv $t/_deps $t/deps
|
||||
:> $t/deps2
|
||||
|
Loading…
x
Reference in New Issue
Block a user