From b24db45b3f62a9222d3f1e879f2d6bea7801d748 Mon Sep 17 00:00:00 2001 From: Glen Barber Date: Mon, 2 Dec 2013 19:02:58 +0000 Subject: [PATCH] Fix PKG_ABI detection in bsdconfig(8) after pkg-1.2 is released, since the format of 'pkg -vv' output has changed. MFC after: 3 days Sponsored by: The FreeBSD Foundation --- usr.sbin/bsdconfig/share/common.subr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/bsdconfig/share/common.subr b/usr.sbin/bsdconfig/share/common.subr index 31da26ee4590..dd8c534d10e7 100644 --- a/usr.sbin/bsdconfig/share/common.subr +++ b/usr.sbin/bsdconfig/share/common.subr @@ -65,7 +65,7 @@ export UNAME_R="$(uname -r)" # Release Level (i.e. X.Y-RELEASE) if [ ! "${PKG_ABI+set}" ]; then export PKG_ABI="$( ASSUME_ALWAYS_YES=1 pkg -vv | - awk '$1=="ABI:"{print $2;exit}' 2> /dev/null + awk '$1=="ABI"{print $3;exit}' 2> /dev/null )" fi