Fix bsdgrep support for jail version

This commit is contained in:
Bryan Drewery 2020-11-13 19:12:32 +00:00
parent 24290e8b62
commit ab3fd0e886
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=555042
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= poudriere
DISTVERSION= 3.3.99.20200326
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= ports-mgmt
MASTER_SITES= LOCAL/bdrewery/${PORTNAME}/ \
http://mirror.shatow.net/freebsd/${PORTNAME}/ \

View File

@ -5,7 +5,7 @@
if [ -r "${SRC_BASE}/sys/conf/newvers.sh" ]; then
- eval `grep "^[RB][A-Z]*=" ${SRC_BASE}/sys/conf/newvers.sh `
+ eval `grep "^REVISION=\|^BRANCH=" ${SRC_BASE}/sys/conf/newvers.sh `
+ eval `egrep "^REVISION=|^BRANCH=" ${SRC_BASE}/sys/conf/newvers.sh `
RELEASE=${REVISION}-${BRANCH}
else
RELEASE=$(jget ${JAILNAME} version)