diff --git a/release/amd64/pkg-stage.conf b/release/amd64/pkg-stage.conf index ab607afbe0e1..c62c86765b6c 100755 --- a/release/amd64/pkg-stage.conf +++ b/release/amd64/pkg-stage.conf @@ -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" diff --git a/release/i386/pkg-stage.conf b/release/i386/pkg-stage.conf index e16cb68e2df8..ad09cbf8cbf3 100755 --- a/release/i386/pkg-stage.conf +++ b/release/i386/pkg-stage.conf @@ -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"