Fix how ABI is evaluated so it matches more than a dot-zero

case.

MFC after:	3 days
X-MFC-With:	r258310
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2013-11-18 17:52:18 +00:00
parent 1f9e80bcdb
commit 6d86d28981
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
# $FreeBSD$
#
export PKG_ABI="freebsd:$(echo ${REVISION} | tr -d '.0'):x86:64"
export PKG_ABI="freebsd:$(echo ${REVISION} | sed -e 's/\.[0-9]//'):x86:64"
export ASSUME_ALWAYS_YES=1
export __PKG_CONF="/etc/pkg/FreeBSD.conf"
export PACKAGESITE="http://pkg.FreeBSD.org/${PKG_ABI}/latest"

View File

@ -3,7 +3,7 @@
# $FreeBSD$
#
export PKG_ABI="freebsd:$(echo ${REVISION} | tr -d '.0'):x86:32"
export PKG_ABI="freebsd:$(echo ${REVISION} | sed -e 's/\.[0-9]//'):x86:32"
export ASSUME_ALWAYS_YES=1
export __PKG_CONF="/etc/pkg/FreeBSD.conf"
export PACKAGESITE="http://pkg.FreeBSD.org/${PKG_ABI}/latest"