Эх сурвалжийг харах

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

Tianon Gravi 8 жил өмнө
parent
commit
6c3d7c45c7
1 өөрчлөгдсөн 4 нэмэгдсэн , 0 устгасан
  1. 4 0
      test-pr.sh

+ 4 - 0
test-pr.sh

@@ -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