diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-01-23 05:05:51 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-01-23 05:05:51 +0800 |
commit | da783e43ff5fff74106937a8e786150ef685cbd8 (patch) | |
tree | d066a7ad24ffdf4547dc3fdbaedd176815fcc6db /Mk/Scripts | |
parent | 542de779513c0123f27eefb34279f236ac41e461 (diff) | |
download | freebsd-ports-gnome-da783e43ff5fff74106937a8e786150ef685cbd8.tar.gz freebsd-ports-gnome-da783e43ff5fff74106937a8e786150ef685cbd8.tar.zst freebsd-ports-gnome-da783e43ff5fff74106937a8e786150ef685cbd8.zip |
Don't replace PREFIX anywhere in the plist line, only do it for the beginning.
With hat: portmgr
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'Mk/Scripts')
-rw-r--r-- | Mk/Scripts/check-stagedir.sh | 8 |
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;" } |