1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-26 16:18:31 +00:00

Remove the env(1) but keep the var.

This commit is contained in:
Devin Teske 2013-11-11 02:02:05 +00:00
parent 6e12e3646d
commit eee23b7cff
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=257938

View File

@ -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="$(
env ASSUME_ALWAYS_YES=1 \
pkg -vv | awk '$1=="ABI:"{print $2;exit}' 2> /dev/null
ASSUME_ALWAYS_YES=1 pkg -vv |
awk '$1=="ABI:"{print $2;exit}' 2> /dev/null
)"
fi