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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=251685
@ -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…
Reference in New Issue
Block a user