summaryrefslogtreecommitdiffstats
path: root/tools/mxe-activate
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mxe-activate')
-rw-r--r--tools/mxe-activate4
1 files 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()
{