This is an automated email from the ASF dual-hosted git repository.
penghui pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-2.7 by this push:
new 8d3e360 [Build] Python-client build script use wrong path for root
dir (#9961)
8d3e360 is described below
commit 8d3e360bf9e92b920eba118c6cd9967952b7e937
Author: Ting Yuan <[email protected]>
AuthorDate: Tue Mar 23 00:10:20 2021 +0800
[Build] Python-client build script use wrong path for root dir (#9961)
* Python-client build script use wrong path for root dir
* Add comments
* Make the change more briefly
* Update build-wheels.sh
* Update build-wheels.sh
(cherry picked from commit b1085d052a2223a0010e742f3bc6a6a42f7e2192)
---
pulsar-client-cpp/docker/build-wheels.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pulsar-client-cpp/docker/build-wheels.sh
b/pulsar-client-cpp/docker/build-wheels.sh
index cfed1df..fabb035 100755
--- a/pulsar-client-cpp/docker/build-wheels.sh
+++ b/pulsar-client-cpp/docker/build-wheels.sh
@@ -23,7 +23,8 @@ set -e
BUILD_IMAGE_NAME="${BUILD_IMAGE_NAME:-apachepulsar/pulsar-build}"
-ROOT_DIR=$(dirname $0)/../..
+# ROOT_DIR should be an absolute path so that Docker accepts it as a valid
volumes path
+ROOT_DIR=`cd $(dirname $0)/../..; pwd`
cd $ROOT_DIR
PYTHON_VERSIONS=(