From: Scott Garman Date: Sat, 22 Jan 2011 00:15:33 +0000 (-0800) Subject: send-pull-request: unset $TO and $CC from environment X-Git-Tag: 2011-1~2733 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=75748b6f09f459339bec6976fbf05e1eadc00d6c;p=openembedded-core.git 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 --- 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 <