aboutsummaryrefslogtreecommitdiff
path: root/release/i386/pkg-stage.conf
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2013-11-18 20:01:52 +0000
committerGlen Barber <gjb@FreeBSD.org>2013-11-18 20:01:52 +0000
commitdf6fb2b5b3079c5fa6917f1fc5516e0256f3738c (patch)
treef6c7b958dc66a75eed1979c9925fe9f2d02670b0 /release/i386/pkg-stage.conf
parent2b471d3acb78c34331773da154ff61e12111a9db (diff)
downloadsrc-df6fb2b5b3079c5fa6917f1fc5516e0256f3738c.tar.gz
src-df6fb2b5b3079c5fa6917f1fc5516e0256f3738c.zip
Simplify PKG_ABI for pkg-stage.sh.
Submitted by: hrs MFC after: 3 days X-MFC-With: r258310 Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=258320
Diffstat (limited to 'release/i386/pkg-stage.conf')
-rwxr-xr-xrelease/i386/pkg-stage.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/i386/pkg-stage.conf b/release/i386/pkg-stage.conf
index ad09cbf8cbf3..6d9e8efdd373 100755
--- a/release/i386/pkg-stage.conf
+++ b/release/i386/pkg-stage.conf
@@ -3,7 +3,7 @@
# $FreeBSD$
#
-export PKG_ABI="freebsd:$(echo ${REVISION} | sed -e 's/\.[0-9]//'):x86:32"
+export PKG_ABI="freebsd:${REVISION%.[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"