Fix bsdgrep support for jail version
This commit is contained in:
parent
24290e8b62
commit
ab3fd0e886
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=555042
@ -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}/ \
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user