This is an automated email from the ASF dual-hosted git repository. eolivelli pushed a commit to branch branch-4.7 in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
The following commit(s) were added to refs/heads/branch-4.7 by this push: new 3629def Release script: swap mapping of directories 3629def is described below commit 3629def4f63c69548315ab814be614573f4affd8 Author: Enrico Olivelli <eolive...@apache.org> AuthorDate: Wed Sep 12 10:00:53 2018 +0200 Release script: swap mapping of directories The script assumed that the layout of /home on the host machine is the same as in the container. This change makes the script work even on machines in which the HOME is /home/xxxx/username and not simply /home/username Author: Enrico Olivelli <eolive...@apache.org> Reviewers: Sijie Guo <si...@apache.org> This closes #1675 from eolivelli/fix/invert-mapping (cherry picked from commit 5a818b226bf2c3e3d9d649ffe1e690af5ec2f794) Signed-off-by: Enrico Olivelli <eolive...@apache.org> --- dev/release/000-run-docker.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/release/000-run-docker.sh b/dev/release/000-run-docker.sh index 66a94ff..d63e222 100755 --- a/dev/release/000-run-docker.sh +++ b/dev/release/000-run-docker.sh @@ -107,8 +107,8 @@ docker run -i -t \ --rm=true \ -w ${BOOKKEEPER_ROOT} \ -u "${USER}" \ - -v "${BOOKKEEPER_ROOT}:$(realpath $BOOKKEEPER_ROOT)" \ - -v "${LOCAL_HOME}:$(realpath ~)" \ + -v "$(realpath $BOOKKEEPER_ROOT):${BOOKKEEPER_ROOT}" \ + -v "$(realpath ~):${LOCAL_HOME}" \ -e VERSION=${VERSION} \ -e MAJOR_VERSION=${MAJOR_VERSION} \ -e NEXT_VERSION=${NEXT_VERSION} \