diff options
author | Tony Theodore <tonyt@logyst.com> | 2013-08-27 08:38:03 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2013-08-27 08:38:03 (GMT) |
commit | 79efce7ffc929823e93e131a5e708dba0b745a48 (patch) | |
tree | 3b4767188b7c5cfab6a6c0c96bcc2eaa69f5f895 /tools | |
parent | 35b8cdb8adb61d0f97425e11f5034e6d8d0cda4b (diff) | |
download | mxe-79efce7ffc929823e93e131a5e708dba0b745a48.zip mxe-79efce7ffc929823e93e131a5e708dba0b745a48.tar.gz mxe-79efce7ffc929823e93e131a5e708dba0b745a48.tar.bz2 |
doc update: add proxies to env whitelist and re-align unset command
Diffstat (limited to 'tools')
-rw-r--r-- | tools/mxe-activate | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/mxe-activate b/tools/mxe-activate index e1f0697..9ab7c9e 100644 --- a/tools/mxe-activate +++ b/tools/mxe-activate @@ -7,7 +7,10 @@ MXE_TARGET_LIST="`grep 'MXE_TARGET_LIST.*:=' Makefile | $SED -n 's,^.*:= \(.*\)$ alias mxe='$MAKE -C $MXE_DIR --no-print-directory' -unset `env | grep -v '^EDITOR=\|^HOME=\|^LANG=\|MXE\|^PATH=\|^PS1=\|^TERM=' | $SED -n 's,\(.*\)=.*$,\1,p' | tr '\n' ' '` +unset `env | \ + grep -vi '^EDITOR=\|^HOME=\|^LANG=\|MXE\|^PATH=' | \ + grep -vi 'PKG_CONFIG\|PROXY\|^PS1=\|^TERM=' | \ + cut -d '=' -f1 | tr '\n' ' '` _mxe() { |