Update test-pr to pass through any additional "BASHBREW_..." environment variables as-is (esp. for BASHBREW_ARCH)

This commit is contained in:
Tianon Gravi 2017-11-01 11:51:28 -07:00
parent 571d6b6fed
commit 6c3d7c45c7

View file

@ -87,6 +87,10 @@ if [ -z "$BASHBREW_SECOND_STAGE" ]; then
-e BASHBREW_SECOND_STAGE=1
)
for e in "${!BASHBREW_*}"; do
args+=( -e "$e" )
done
cmd=( ./test-pr.sh "$pull" "$@" )
if [ -t 1 ]; then