summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorAlex Kozlov <ak@FreeBSD.org>2014-10-08 21:39:47 +0000
committerAlex Kozlov <ak@FreeBSD.org>2014-10-08 21:39:47 +0000
commit6107ede2acbd504ee76b021601bd5308bd3d937d (patch)
tree4d3d5098fd8dcd3548442a6ea294205afbd6bc95 /Mk
parentfe37bb79589ccb5d6a08d4c151a53862a604e65b (diff)
downloadfreebsd-ports-6107ede2acbd504ee76b021601bd5308bd3d937d.zip
- Accept absolute path for @fc, @fontsdir, @fcfontsdir, @shell keywords
Approved by: portmgr (antoine, bapt) Differential Revision: https://reviews.freebsd.org/D721
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Scripts/check-stagedir.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/Mk/Scripts/check-stagedir.sh b/Mk/Scripts/check-stagedir.sh
index 34df172934dd..39224f5e5ad3 100644
--- a/Mk/Scripts/check-stagedir.sh
+++ b/Mk/Scripts/check-stagedir.sh
@@ -95,7 +95,14 @@ parse_plist() {
@fc\ *|@fcfontsdir\ *|@fontsdir\ *)
set -- $line
shift
+ case "$@" in
+ /*)
+ echo >&3 "${comment}$@"
+ ;;
+ *)
echo >&3 "${comment}${cwd}/$@"
+ ;;
+ esac
;;
# order matters here - we must check @cwd first because