mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
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
This commit is contained in:
parent
f7f650c76a
commit
b24db45b3f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=258854
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user