aboutsummaryrefslogtreecommitdiff
path: root/Mk/Scripts
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2014-05-16 17:21:44 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2014-05-16 17:21:44 +0000
commit2387ec96ea99757739c69486f95f7b06052eae59 (patch)
treed3c5c896c36793524a49e7f45bfcc4f01df6bef5 /Mk/Scripts
parenteaa514f0d3813209c1395cde094be145dbde17e8 (diff)
Notes
Diffstat (limited to 'Mk/Scripts')
-rw-r--r--Mk/Scripts/check-stagedir.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/Mk/Scripts/check-stagedir.sh b/Mk/Scripts/check-stagedir.sh
index 0330dec83387..d4479d1cadea 100644
--- a/Mk/Scripts/check-stagedir.sh
+++ b/Mk/Scripts/check-stagedir.sh
@@ -64,11 +64,18 @@ parse_plist() {
esac
;;
# Handle [file] Keywords
- @info\ *|@sample\ *)
+ @info\ *)
set -- $line
shift
echo "${comment}${cwd}/$@"
;;
+ @sample\ *)
+ set -- $line
+ shift
+ # Ignore the actual file if it is in stagedir
+ echo "@comment ${cwd}/${@%.sample}"
+ echo "${comment}${cwd}/$@"
+ ;;
# Handle [dirrmty] Keywords
@fc\ *|@fcfontsdir\ *|@fontsdir\ *)
set -- $line