Remove the env(1) but keep the var.

This commit is contained in:
dteske 2013-11-11 02:02:05 +00:00
parent c7e17b4285
commit 34ec6f44ca

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