blob: 0fc86200c0434bf4cb1b3ff575080b616c636ab8 (
plain) (
tree)
|
|
# $FreeBSD$
BEGIN {
FS = "_"
}
/RELENG_.*_RELEASE/ {
if (NF == 5) {
printf "release/%s.%s.%s", $2, $3, $4
exit
}
}
/RELENG_.*/ {
if (NF == 3) {
printf "releng/%s.%s", $2, $3
exit
}
if (NF == 2) {
printf "stable/%s", $2
exit
}
}
// {
printf "unknown_branch"
}
|