svn commit: r399127 - head/Mk/Scripts

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Oct 12 13:33:19 UTC 2015


Author: amdmi3
Date: Mon Oct 12 13:33:18 2015
New Revision: 399127
URL: https://svnweb.freebsd.org/changeset/ports/399127

Log:
  Use -r flag for read command, this fixes handling of paths containing
  backslashes, and, in result, stage-qa for archivers/deco
  
  Approved by:	portmgr (antoine)
  Differential Revision:	D3862

Modified:
  head/Mk/Scripts/functions.sh

Modified: head/Mk/Scripts/functions.sh
==============================================================================
--- head/Mk/Scripts/functions.sh	Mon Oct 12 13:30:18 2015	(r399126)
+++ head/Mk/Scripts/functions.sh	Mon Oct 12 13:33:18 2015	(r399127)
@@ -25,7 +25,7 @@ parse_plist() {
 	cwd=${PREFIX}
 	cwd_save=
 	commented_cwd=
-	while read line; do
+	while read -r line; do
 		# Handle deactivated OPTIONS. Treat "@comment file" as being in
 		# the plist so it does not show up as an orphan. PLIST_SUB uses
 		# a @comment to deactive files. XXX: It would be better to


More information about the svn-ports-head mailing list