summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorScott Garman <scott.a.garman@intel.com>2011-01-21 16:15:33 -0800
committerSaul Wold <sgw@linux.intel.com>2011-01-24 14:09:13 -0800
commit75748b6f09f459339bec6976fbf05e1eadc00d6c (patch)
tree2ef1c84a8c19ed9f61f9b4c29570b01b26b7dcd9 /scripts
parentaee1d50802f6e97dba9c8418155f36dbe3cf3e8c (diff)
downloadpoky-75748b6f09f459339bec6976fbf05e1eadc00d6c.tar.gz
send-pull-request: unset $TO and $CC from environment
Darren Hart and I discovered that when $CC is set (which our meta-toolchain environment script sets up), the value leaks into the use of this script. Unsetting $TO as well just to be thorough. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/send-pull-request4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/send-pull-request b/scripts/send-pull-request
index 9872c0dc65..a66d4dc6d7 100755
--- a/scripts/send-pull-request
+++ b/scripts/send-pull-request
@@ -6,6 +6,10 @@ if [ -z "$PULL_MTA" ]; then
6 PULL_MTA="sendmail" 6 PULL_MTA="sendmail"
7fi 7fi
8 8
9# Prevent environment leakage to these vars.
10unset TO
11unset CC
12
9usage() 13usage()
10{ 14{
11cat <<EOM 15cat <<EOM