summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--index.html2
-rw-r--r--tools/mxe-activate2
2 files changed, 2 insertions, 2 deletions
diff --git a/index.html b/index.html
index 000d8c9..af6d1bf 100644
--- a/index.html
+++ b/index.html
@@ -386,7 +386,7 @@ exit</pre>
use a white-list approach:
</p>
<pre>unset `env | \
- grep -v '^HOME=\|^LANG=\|^PATH=\|PKG_CONFIG\|^PS1=\|^TERM=' | \
+ grep -v '^EDITOR=\|^HOME=\|^LANG=\|^PATH=\|PKG_CONFIG\|^PS1=\|^TERM=' | \
sed -n 's,\(.*\)=.*$,\1,p' | tr '\n' ' '`</pre>
<p>
diff --git a/tools/mxe-activate b/tools/mxe-activate
index 2b54732..2ef2398 100644
--- a/tools/mxe-activate
+++ b/tools/mxe-activate
@@ -6,7 +6,7 @@ MXE_TARGET_LIST="`grep 'MXE_TARGET_LIST.*:=' Makefile | $SED -n 's,^.*:= \(.*\)$
alias mxe='$MAKE -C $MXE_DIR --no-print-directory'
-unset `env | grep -v '^HOME=\|^LANG=\|MXE\|^PATH=\|^PS1=\|^TERM=' | $SED -n 's,\(.*\)=.*$,\1,p' | tr '\n' ' '`
+unset `env | grep -v '^EDITOR=\|^HOME=\|^LANG=\|MXE\|^PATH=\|^PS1=\|^TERM=' | $SED -n 's,\(.*\)=.*$,\1,p' | tr '\n' ' '`
_mxe()
{