From 3298820124c7d1c54159ed4f5d48b7d4c7994056 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Sat, 14 Jun 2014 20:37:36 +1000 Subject: mxe-activate: use compgen -e for variable list instead of env --- tools/mxe-activate | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/mxe-activate b/tools/mxe-activate index 461b547..bc38779 100644 --- a/tools/mxe-activate +++ b/tools/mxe-activate @@ -10,10 +10,10 @@ MXE_TARGET_LIST=`eval "echo {$MXE_TRIPLETS}.{$MXE_LIB_TYPES}"` alias mxe='$MAKE -C $MXE_DIR --no-print-directory' -unset `env | \ +unset `compgen -e | \ grep -vi '^EDITOR=\|^HOME=\|^LANG=\|MXE\|^PATH=' | \ grep -vi 'PKG_CONFIG\|PROXY\|^PS1=\|^TERM=' | \ - cut -d '=' -f1 | tr '\n' ' '` + tr '\n' ' '` _mxe() { -- cgit v0.12