mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
IMPALA-14532: Fix SKIP_TOOLCHAIN_BOOTSTRAP
Fixes 'NATIVE_TOOLCHAIN_HOME: unbound variable' error when setting 'SKIP_TOOLCHAIN_BOOTSTRAP=true'. Change-Id: I6562d49114590d89d2f43a4c23bba4a65e8abd74 Reviewed-on: http://gerrit.cloudera.org:8080/23640 Reviewed-by: Riza Suminto <riza.suminto@cloudera.com> Tested-by: Michael Smith <michael.smith@cloudera.com>
This commit is contained in:
@@ -424,7 +424,7 @@ bootstrap_dependencies() {
|
||||
|
||||
# Populate necessary thirdparty components unless it's set to be skipped.
|
||||
if [[ "${SKIP_TOOLCHAIN_BOOTSTRAP}" = true ]]; then
|
||||
if ! [ -z "${NATIVE_TOOLCHAIN_HOME}" ]; then
|
||||
if ! [ -z "${NATIVE_TOOLCHAIN_HOME-}" ]; then
|
||||
if ! [ -d "${NATIVE_TOOLCHAIN_HOME}" ]; then
|
||||
mkdir -p "${NATIVE_TOOLCHAIN_HOME}"
|
||||
pushd "${NATIVE_TOOLCHAIN_HOME}"
|
||||
|
||||
Reference in New Issue
Block a user