diff options
author | Scott Garman <scott.a.garman@intel.com> | 2011-01-21 16:15:33 -0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-01-24 14:09:13 -0800 |
commit | 75748b6f09f459339bec6976fbf05e1eadc00d6c (patch) | |
tree | 2ef1c84a8c19ed9f61f9b4c29570b01b26b7dcd9 /scripts/send-pull-request | |
parent | aee1d50802f6e97dba9c8418155f36dbe3cf3e8c (diff) | |
download | openembedded-core-75748b6f09f459339bec6976fbf05e1eadc00d6c.tar.gz openembedded-core-75748b6f09f459339bec6976fbf05e1eadc00d6c.tar.bz2 openembedded-core-75748b6f09f459339bec6976fbf05e1eadc00d6c.zip |
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/send-pull-request')
-rwxr-xr-x | scripts/send-pull-request | 4 |
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 PULL_MTA="sendmail" fi +# Prevent environment leakage to these vars. +unset TO +unset CC + usage() { cat <<EOM |