svn commit: r251685 - head/tools/build/options
Ed Maste
emaste at FreeBSD.org
Thu Jun 13 13:05:08 UTC 2013
Author: emaste
Date: Thu Jun 13 13:05:08 2013
New Revision: 251685
URL: http://svnweb.freebsd.org/changeset/base/251685
Log:
Use portable string comparison
We support == in /bin/sh now, but it ought to be avoided, and my use of
it was accidental.
Modified:
head/tools/build/options/makeman
Modified: head/tools/build/options/makeman
==============================================================================
--- head/tools/build/options/makeman Thu Jun 13 09:33:22 2013 (r251684)
+++ head/tools/build/options/makeman Thu Jun 13 13:05:08 2013 (r251685)
@@ -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
More information about the svn-src-all
mailing list