Date: Thu, 5 Dec 2013 01:06:05 +0000 (UTC) From: Glen Barber <gjb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r258953 - stable/10/usr.sbin/bsdconfig/share Message-ID: <201312050106.rB5165jl074952@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gjb Date: Thu Dec 5 01:06:05 2013 New Revision: 258953 URL: http://svnweb.freebsd.org/changeset/base/258953 Log: MFC r258854: Fix PKG_ABI detection in bsdconfig(8) after pkg-1.2 is released, since the format of 'pkg -vv' output has changed. Approved by: re (hrs) Sponsored by: The FreeBSD Foundation Modified: stable/10/usr.sbin/bsdconfig/share/common.subr Directory Properties: stable/10/usr.sbin/bsdconfig/ (props changed) Modified: stable/10/usr.sbin/bsdconfig/share/common.subr ============================================================================== --- stable/10/usr.sbin/bsdconfig/share/common.subr Thu Dec 5 00:59:29 2013 (r258952) +++ stable/10/usr.sbin/bsdconfig/share/common.subr Thu Dec 5 01:06:05 2013 (r258953) @@ -65,7 +65,7 @@ export UNAME_R="$(uname -r)" # Release L 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312050106.rB5165jl074952>