From d83fc588cbd67dd124777b77ff4333670c20ddb7 Mon Sep 17 00:00:00 2001 From: Yun Peng Date: Thu, 3 Sep 2020 02:03:22 -0700 Subject: [PATCH] compile.sh: Rename env var DISTRIBUTION to BAZEL_DISTRIBUTION In the Debian build environment, the DISTRIBUTION env var may be used for other purpose, so we rename the env var name to avoid conflict. Closes #12044. PiperOrigin-RevId: 329877157 --- scripts/bootstrap/compile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bootstrap/compile.sh b/scripts/bootstrap/compile.sh index 750ff070b15bcf..4ce0f4274de498 100755 --- a/scripts/bootstrap/compile.sh +++ b/scripts/bootstrap/compile.sh @@ -19,7 +19,7 @@ if [ -d derived/jars ]; then ADDITIONAL_JARS=derived/jars else - DISTRIBUTION=${DISTRIBUTION:-debian} + DISTRIBUTION=${BAZEL_DISTRIBUTION:-debian} ADDITIONAL_JARS="$(grep -o '".*\.jar"' tools/distributions/${DISTRIBUTION}/${DISTRIBUTION}_java.BUILD | sed 's/"//g' | sed 's|^|/usr/share/java/|g')" fi