Date: Mon, 12 Oct 2015 13:33:18 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r399127 - head/Mk/Scripts Message-ID: <201510121333.t9CDXITG004678@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510121333.t9CDXITG004678>