From owner-svn-ports-all@freebsd.org Mon Oct 12 13:33:19 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B6EBDA11A0B; Mon, 12 Oct 2015 13:33:19 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 830ED1B03; Mon, 12 Oct 2015 13:33:19 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9CDXIlc004679; Mon, 12 Oct 2015 13:33:18 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9CDXITG004678; Mon, 12 Oct 2015 13:33:18 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201510121333.t9CDXITG004678@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Mon, 12 Oct 2015 13:33:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r399127 - head/Mk/Scripts X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Oct 2015 13:33:19 -0000 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