Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jan 2015 03:37:20 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r376510 - head/Mk/Scripts
Message-ID:  <201501080337.t083bKWx097279@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Thu Jan  8 03:37:20 2015
New Revision: 376510
URL: https://svnweb.freebsd.org/changeset/ports/376510
QAT: https://qat.redports.org/buildarchive/r376510/

Log:
  Limit the scope of variables in parse_plist()
  
  With hat:	portmgr

Modified:
  head/Mk/Scripts/check-stagedir.sh

Modified: head/Mk/Scripts/check-stagedir.sh
==============================================================================
--- head/Mk/Scripts/check-stagedir.sh	Thu Jan  8 01:50:10 2015	(r376509)
+++ head/Mk/Scripts/check-stagedir.sh	Thu Jan  8 03:37:20 2015	(r376510)
@@ -18,6 +18,8 @@ export LC_ALL=C
 #    Use file descriptors 1 and 3 so that the while loop can write
 #    files to the pipe and dirs to a separate file.
 parse_plist() {
+	local cwd cwd_save commented_cwd comment line newcwd
+
 	echo "===> Parsing plist"
 	cwd=${PREFIX}
 	cwd_save=



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