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

eolivelli 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 0730f07  Release procedure: fix paths for docker-build-deb.sh and 
docker-build-rpm.sh (#10302)
0730f07 is described below

commit 0730f07e6ae5f854683c720a128e107b5c770307
Author: Enrico Olivelli <[email protected]>
AuthorDate: Wed Apr 21 13:29:47 2021 +0200

    Release procedure: fix paths for docker-build-deb.sh and 
docker-build-rpm.sh (#10302)
---
 pulsar-client-cpp/pkg/deb/docker-build-deb.sh | 2 +-
 pulsar-client-cpp/pkg/rpm/docker-build-rpm.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pulsar-client-cpp/pkg/deb/docker-build-deb.sh 
b/pulsar-client-cpp/pkg/deb/docker-build-deb.sh
index 4fa4433..55289cc 100755
--- a/pulsar-client-cpp/pkg/deb/docker-build-deb.sh
+++ b/pulsar-client-cpp/pkg/deb/docker-build-deb.sh
@@ -20,7 +20,7 @@
 
 set -e
 
-ROOT_DIR=$(dirname $0)/../../..
+ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )"/../../.. &> /dev/null && 
pwd )"
 
 docker pull apachepulsar/pulsar-build:debian-9
 
diff --git a/pulsar-client-cpp/pkg/rpm/docker-build-rpm.sh 
b/pulsar-client-cpp/pkg/rpm/docker-build-rpm.sh
index 7082bbe..e72114d 100755
--- a/pulsar-client-cpp/pkg/rpm/docker-build-rpm.sh
+++ b/pulsar-client-cpp/pkg/rpm/docker-build-rpm.sh
@@ -20,7 +20,7 @@
 
 set -e
 
-ROOT_DIR=$(dirname $0)/../../../..
+ROOT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )"/../../.. &> /dev/null && 
pwd )"
 
 docker pull apachepulsar/pulsar-build:centos-7
 

Reply via email to