This is an automated email from the ASF dual-hosted git repository.

penghui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 15f4acf  [Build] RPM build script use wrong path for root dir (#9890)
15f4acf is described below

commit 15f4acfc70dac24f026ba7ebecf4ed022a391cdb
Author: Yong Zhang <[email protected]>
AuthorDate: Fri Mar 12 10:35:46 2021 +0800

    [Build] RPM build script use wrong path for root dir (#9890)
    
    ---
    
    *Motivation*
    
    We use the wrong path for the root dir in the build rpm script
    so this breaks the rpm build process.
---
 pulsar-client-cpp/pkg/rpm/build-rpm.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pulsar-client-cpp/pkg/rpm/build-rpm.sh 
b/pulsar-client-cpp/pkg/rpm/build-rpm.sh
index 75d2df0..97647a1 100755
--- a/pulsar-client-cpp/pkg/rpm/build-rpm.sh
+++ b/pulsar-client-cpp/pkg/rpm/build-rpm.sh
@@ -21,7 +21,7 @@
 set -e
 
 cd /pulsar
-ROOT_DIR=$(dirname $0)/../..
+ROOT_DIR=$(pwd)
 cd $ROOT_DIR/pulsar-client-cpp/pkg/rpm
 
 POM_VERSION=`$ROOT_DIR/src/get-project-version.py`

Reply via email to