1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-04 12:52:15 +00:00

Special-case "-r X" where X is [0-9.]+ to mean "-r X-RELEASE".

Tripped over by:	too many people to count
MFC after:	1 month
This commit is contained in:
Colin Percival 2009-09-29 16:26:09 +00:00
parent dedfd26648
commit d23dc1ee5f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=197618

View File

@ -284,6 +284,9 @@ config_TargetRelease () {
else
return 1
fi
if echo ${TARGETRELEASE} | grep -qE '^[0-9.]+$'; then
TARGETRELEASE="${TARGETRELEASE}-RELEASE"
fi
}
# Define what happens to output of utilities