aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-10-08 06:19:54 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-10-08 06:19:54 +0000
commitdf3c8059170c8a149b66fa0c614971606ef51e46 (patch)
treeef01233bfb4eb5046c3bb479a0e02975e98beb9c /Mk
parentfe0b735bba20d06ce14c2864a642a2849510d777 (diff)
downloadports-df3c8059170c8a149b66fa0c614971606ef51e46.tar.gz
ports-df3c8059170c8a149b66fa0c614971606ef51e46.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Scripts/check-stagedir.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/Mk/Scripts/check-stagedir.sh b/Mk/Scripts/check-stagedir.sh
index fd3c3430dabe..34df172934dd 100644
--- a/Mk/Scripts/check-stagedir.sh
+++ b/Mk/Scripts/check-stagedir.sh
@@ -71,7 +71,10 @@ parse_plist() {
@info\ *|@shell\ *)
set -- $line
shift
- echo "${comment}${cwd}/$@"
+ case "$@" in
+ /*) echo "${comment}$@" ;;
+ *) echo "${comment}${cwd}/$@" ;;
+ esac
;;
@sample\ *)
set -- $line