1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

Fix quoting of optional FLAVOR argument in some make invocations, which

were uncovered by fixed quoting in the pm_make* functions.

Reported by:	tatsuki_makino at hotmail.com (Tatsuki Makino)
Approved by:	antoine (implicit)
This commit is contained in:
Stefan Eßer 2018-07-23 06:55:51 +00:00
parent 2a1ee6a19e
commit 672a731a16
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=475149
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= portmaster
PORTVERSION= 3.19
PORTREVISION= 14
PORTREVISION= 15
CATEGORIES= ports-mgmt
MAINTAINER= se@FreeBSD.org

View File

@ -498,11 +498,11 @@
+ flavor=$(flavor_part $portdir)
+ for dir in $post_clean_l; do
+ pm_v "===>>> Running 'make clean' for special build dependency $dir"
+ (pm_make_s -C "$pd/$dir" "${flavor:+FLAVOR=$flavor}" clean NOCLEANDEPENDS=ncd2 >/dev/null)&
+ (pm_make_s -C "$pd/$dir" ${flavor:+FLAVOR=$flavor} clean NOCLEANDEPENDS=ncd2 >/dev/null)&
+ done
pm_v "===>>> Running 'make clean' in the background"
- (pm_make_s clean NOCLEANDEPENDS=ncd2 >/dev/null)&
+ (pm_make_s "${flavor:+FLAVOR=$flavor}" clean NOCLEANDEPENDS=ncd2 >/dev/null)&
+ (pm_make_s ${flavor:+FLAVOR=$flavor} clean NOCLEANDEPENDS=ncd2 >/dev/null)&
pm_v
fi
if [ -n "$ro_opd" ]; then