Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2013 20:47:38 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r245893 - head/tools
Message-ID:  <201301242047.r0OKlcAO079019@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Thu Jan 24 20:47:37 2013
New Revision: 245893
URL: http://svnweb.freebsd.org/changeset/base/245893

Log:
  Use = not == in test arguments.
  
  Submitted by:	Christoph Mallon <christoph.mallon@gmx.de>

Modified:
  head/tools/install.sh

Modified: head/tools/install.sh
==============================================================================
--- head/tools/install.sh	Thu Jan 24 19:09:38 2013	(r245892)
+++ head/tools/install.sh	Thu Jan 24 20:47:37 2013	(r245893)
@@ -62,7 +62,7 @@ fi
 
 # the remaining arguments are assumed to be files/dirs only.
 if [ -n "${linkmode}" ]; then
-	if [ "${linkmode}" == "symbolic" ]; then
+	if [ "${linkmode}" = "symbolic" ]; then
 		ln -fsh "$@"
 	else
 		ln -f "$@"



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