mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
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>
This commit is contained in:
parent
aee1d50802
commit
75748b6f09
|
@ -6,6 +6,10 @@ if [ -z "$PULL_MTA" ]; then
|
||||||
PULL_MTA="sendmail"
|
PULL_MTA="sendmail"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Prevent environment leakage to these vars.
|
||||||
|
unset TO
|
||||||
|
unset CC
|
||||||
|
|
||||||
usage()
|
usage()
|
||||||
{
|
{
|
||||||
cat <<EOM
|
cat <<EOM
|
||||||
|
|
Loading…
Reference in New Issue
Block a user