This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 0606ec8149a087ebe5681012670f265c2f7e9adb Author: Mihai Moldovan <ionic@ionic.de> Date: Fri Jul 17 17:48:44 2015 +0200 debian/roll-tarballs.sh: more quotes, more curly braces, replace cd with pushd and pop. --- debian/roll-tarballs.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/debian/roll-tarballs.sh b/debian/roll-tarballs.sh index 0f9568a..52c2090 100755 --- a/debian/roll-tarballs.sh +++ b/debian/roll-tarballs.sh @@ -52,7 +52,7 @@ else fi if [ x"$RELEASE" == "xHEAD" ]; then - CHECKOUT=refs/heads/$(git rev-parse --abbrev-ref HEAD) + CHECKOUT="refs/heads/$(git rev-parse --abbrev-ref HEAD)" fi if ! git rev-parse --verify -q "$CHECKOUT" >/dev/null; then @@ -80,14 +80,14 @@ cd "${TEMP_DIR}/${PROJECT}-${RELEASE}/" # Replace symlinks by copies of the linked target files # Note: We don't have symlinked directories!!! -find . -type l | while read link; do - TARGET=$(readlink "$link") - cd $(dirname "$link") - if [ -f "$TARGET" ]; then - rm -f $(basename "$link") - cp "${TARGET}" $(basename "$link") +find . -type "l" | while read link; do + TARGET="$(readlink "${link}")" + pushd "$(dirname "${link}")" >/dev/null + if [ -f "${TARGET}" ]; then + rm -f "$(basename "${link}")" + cp "${TARGET}" "$(basename "${link}")" fi - cd - 1>/dev/null + popd >/dev/null done mkdir -p "doc/applied-patches" -- Alioth's /srv/git/code.x2go.org/nx-libs.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git