summaryrefslogtreecommitdiffstats
path: root/release/scripts
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2016-03-08 18:31:26 +0000
committergjb <gjb@FreeBSD.org>2016-03-08 18:31:26 +0000
commita78b91259334727838107cbfa023380c41fb00dd (patch)
tree47930c7805b5c4d0de61e1733210a31d9c51ed78 /release/scripts
parenta7d86f751a03778bef77031433cc328dc4db7e1f (diff)
downloadFreeBSD-src-a78b91259334727838107cbfa023380c41fb00dd.zip
FreeBSD-src-a78b91259334727838107cbfa023380c41fb00dd.tar.gz
Prefix lib32, profile, debug, and development packages
with 'runtime-' for consistency with other packages. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/mtree-to-plist.awk10
1 files changed, 3 insertions, 7 deletions
diff --git a/release/scripts/mtree-to-plist.awk b/release/scripts/mtree-to-plist.awk
index 51dea0d..a499b94 100644
--- a/release/scripts/mtree-to-plist.awk
+++ b/release/scripts/mtree-to-plist.awk
@@ -39,7 +39,7 @@
gsub(/package=/, "", pkgname)
} else if (a[i] == "config") {
type="config"
- } else if (a[i] == "development" || a[i] == "profile" || a[i] == "debug") {
+ } else if (a[i] == "development" || a[i] == "profile" || a[i] == "debug" || a[i] == "docs") {
pkgend=a[i]
} else {
if (ext != "")
@@ -49,14 +49,10 @@
}
}
if (ext != "") {
- if (pkgname == "runtime") {
- pkgname=ext
- } else {
- pkgname=pkgname"-"ext
- }
+ pkgname=pkgname"-"ext
}
if (pkgend != "") {
- if (pkgname == "runtime") {
+ if (pkgend == "docs") {
pkgname=pkgend
} else {
pkgname=pkgname"-"pkgend
OpenPOWER on IntegriCloud