1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00

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
This commit is contained in:
Dmitry Marakasov 2015-10-12 13:33:18 +00:00
parent 11cd1bac21
commit 7d137fe741
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399127

View File

@ -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