You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by eo...@apache.org on 2021/04/21 11:30:20 UTC

[pulsar] branch master updated: Release procedure: fix paths for docker-build-deb.sh and docker-build-rpm.sh (#10302)

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

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

commit e542c148c8c347381f723a98f464b851692f46e6
Author: Enrico Olivelli <eo...@gmail.com>
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