diff options
author | mat <mat@FreeBSD.org> | 2013-11-30 00:08:41 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2013-11-30 00:08:41 +0800 |
commit | 1c42f2b45fb2ed9cebcb4456f607e62d282c2111 (patch) | |
tree | e196cd793adcc98780bc9b7e4dda5866390344f6 /Mk | |
parent | f528d134e0e166285844904b5268b0cf60fec8d3 (diff) | |
download | freebsd-ports-gnome-1c42f2b45fb2ed9cebcb4456f607e62d282c2111.tar.gz freebsd-ports-gnome-1c42f2b45fb2ed9cebcb4456f607e62d282c2111.tar.zst freebsd-ports-gnome-1c42f2b45fb2ed9cebcb4456f607e62d282c2111.zip |
Fixup makeplist for directories.
Without, it'll generate :
@dirrmtry %%PORTDOCS%%%%DOCSDIR%%
With :
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
PR: ports/184287
Submitted by: mat
Approved by: bapt
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Scripts/check-stagedir.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Scripts/check-stagedir.sh b/Mk/Scripts/check-stagedir.sh index 60468067f0f6..6fa52bf293d6 100644 --- a/Mk/Scripts/check-stagedir.sh +++ b/Mk/Scripts/check-stagedir.sh @@ -107,9 +107,9 @@ cat ${WRKDIR}/.plist-dirs-unsorted ${WRKDIR}/.mtree | sort -u >${WRKDIR}/.traced find ${STAGEDIR} -type d | sed -e "s,^${STAGEDIR},,;/^$/d" | sort >${WRKDIR}/.staged-dirs comm -13 ${WRKDIR}/.traced-dirs ${WRKDIR}/.staged-dirs \ | sort -r | sed \ + -e 's,^,@dirrmtry ,' \ -e "s,\(.*\)${DOCSDIR},%%PORTDOCS%%\1%%DOCSDIR%%,g" \ -e "s,\(.*\)${EXAMPLESDIR},%%PORTEXAMPLES%%\1%%EXAMPLESDIR%%,g" \ -e "s,${DATADIR},%%DATADIR%%,g" \ -e "s,${PREFIX}/,,g" \ - -e 's,^,@dirrmtry ,' \ -e 's,@dirrmtry \(/.*\),@unexec rmdir >/dev/null 2>\&1 \1 || :,' | grep -v "^@dirrmtry share/licenses" || [ $? = 1 ] |