From beffceb0858c52898423fa1047635d9234eaeef8 Mon Sep 17 00:00:00 2001 From: Adam Reeve Date: Tue, 14 May 2024 11:11:20 +1200 Subject: [PATCH] Fix JNI build in docker failing due to no .env file --- ci/scripts/install_vcpkg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/scripts/install_vcpkg.sh b/ci/scripts/install_vcpkg.sh index 5efb2547e505e..861aeeea8bd0f 100755 --- a/ci/scripts/install_vcpkg.sh +++ b/ci/scripts/install_vcpkg.sh @@ -25,7 +25,7 @@ if [ "$#" -lt 1 ]; then fi arrow_dir=$(cd -- "$(dirname -- "$0")/../.." && pwd -P) -default_vcpkg_version=$(source "${arrow_dir}/.env" && echo "$VCPKG") +default_vcpkg_version=$(source "${arrow_dir}/.env" && echo "$VCPKG" || echo "") default_vcpkg_ports_patch="${arrow_dir}/ci/vcpkg/ports.patch" vcpkg_destination=$1