Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jun 2013 13:05:08 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r251685 - head/tools/build/options
Message-ID:  <201306131305.r5DD58Rd058046@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306131305.r5DD58Rd058046>