aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-10-12 21:33:18 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-10-12 21:33:18 +0800
commitb5d297b504a893822896e1090164b312f38813db (patch)
tree4f2a1894495d76be0c52dc9f4d1fc4e7e518e3d9 /Mk
parent1c69ce46337b5d87dcbb1e0f96fb574475b9a286 (diff)
downloadfreebsd-ports-gnome-b5d297b504a893822896e1090164b312f38813db.tar.gz
freebsd-ports-gnome-b5d297b504a893822896e1090164b312f38813db.tar.zst
freebsd-ports-gnome-b5d297b504a893822896e1090164b312f38813db.zip
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
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Scripts/functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Scripts/functions.sh b/Mk/Scripts/functions.sh
index 0154237bce0a..3aeb9fbce1fe 100644
--- a/Mk/Scripts/functions.sh
+++ b/Mk/Scripts/functions.sh
@@ -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