aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2015-01-22 21:05:51 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2015-01-22 21:05:51 +0000
commit531f0016ec8e50a2fabd0851bd9efeaef6193c81 (patch)
treed066a7ad24ffdf4547dc3fdbaedd176815fcc6db /Mk
parentba3d05cfd86e19bd4ace1d0b5d1f80f42cc8e2c3 (diff)
downloadports-531f0016ec8e50a2fabd0851bd9efeaef6193c81.tar.gz
ports-531f0016ec8e50a2fabd0851bd9efeaef6193c81.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Scripts/check-stagedir.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mk/Scripts/check-stagedir.sh b/Mk/Scripts/check-stagedir.sh
index b4a7903ad93b..66cc779bb475 100644
--- a/Mk/Scripts/check-stagedir.sh
+++ b/Mk/Scripts/check-stagedir.sh
@@ -92,15 +92,15 @@ setup_plist_seds() {
sed_plist_sub=$(echo "${PLIST_SUB_SED}" | /bin/sh ${SCRIPTSDIR}/plist_sub_sed_sort.sh)
unset PLIST_SUB_SED
# Used for generate_plist
- sed_files_gen="s!${PREFIX}/!!g; ${sed_plist_sub} \
+ sed_files_gen="s!^${PREFIX}/!!g; ${sed_plist_sub} \
${sed_portdocsexamples} /^share\/licenses/d;"
- sed_dirs_gen="s!${PREFIX}/!!g; ${sed_plist_sub} s,^,@dir ,; \
+ sed_dirs_gen="s!^${PREFIX}/!!g; ${sed_plist_sub} s,^,@dir ,; \
${sed_portdocsexamples} \
/^@dir share\/licenses/d;"
# These prevent ignoring DOCS/EXAMPLES dirs with sed_portdocsexamples
- sed_files="s!${PREFIX}/!!g; ${sed_plist_sub} /^share\/licenses/d;"
- sed_dirs="s!${PREFIX}/!!g; ${sed_plist_sub} s,^,@dir ,; \
+ sed_files="s!^${PREFIX}/!!g; ${sed_plist_sub} /^share\/licenses/d;"
+ sed_dirs="s!^${PREFIX}/!!g; ${sed_plist_sub} s,^,@dir ,; \
/^@dir share\/licenses/d;"
}