From e891effcb4c6b61028efd0c45a8ac2ff5b1bbcba Mon Sep 17 00:00:00 2001 From: wforget <643348094@qq.com> Date: Tue, 27 Aug 2024 21:24:25 +0800 Subject: [PATCH] address comment --- ep/build-velox/src/get_velox.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ep/build-velox/src/get_velox.sh b/ep/build-velox/src/get_velox.sh index 003a3790cedf..925245b26539 100755 --- a/ep/build-velox/src/get_velox.sh +++ b/ep/build-velox/src/get_velox.sh @@ -151,7 +151,7 @@ fi VELOX_SOURCE_DIR="${VELOX_HOME}" # checkout code -TARGET_BUILD_COMMIT="$(git ls-remote $VELOX_REPO $VELOX_BRANCH | awk '{print $1;}' | head -n 1)" +TARGET_BUILD_COMMIT="$(git ls-remote $VELOX_REPO refs/heads/$VELOX_BRANCH | awk '{print $1;}')" if [ -d $VELOX_SOURCE_DIR ]; then echo "Velox source folder $VELOX_SOURCE_DIR already exists..." cd $VELOX_SOURCE_DIR