svn commit: r376510 - head/Mk/Scripts

Bryan Drewery bdrewery at FreeBSD.org
Thu Jan 8 03:37:21 UTC 2015


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=


More information about the svn-ports-all mailing list