mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Fix failed attempt to send pkg(8) stderr to /dev/null
MFC after: 3 days
This commit is contained in:
parent
8b3d3bafec
commit
59d9c9e1c6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=259113
@ -64,8 +64,8 @@ export UNAME_M="$( uname -m )" # Machine platform (i.e. i386)
|
||||
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 $3;exit}' 2> /dev/null
|
||||
ASSUME_ALWAYS_YES=1 pkg -vv 2> /dev/null |
|
||||
awk '$1=="ABI"{print $3;exit}'
|
||||
)"
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user