[X2Go-Commits] [nx-libs] 49/53: roll-tarball.sh: more quotes (follow-up for previous commit), drop debug code

git-admin at x2go.org git-admin at x2go.org
Tue Sep 22 15:10:54 CEST 2015


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 01ad7dad439f446c559e6da8411962c26d99e16a
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Jul 15 09:30:29 2015 +0200

    roll-tarball.sh: more quotes (follow-up for previous commit), drop debug code
---
 debian/roll-tarballs.sh |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/debian/roll-tarballs.sh b/debian/roll-tarballs.sh
index 2fba5a0..0f9568a 100755
--- a/debian/roll-tarballs.sh
+++ b/debian/roll-tarballs.sh
@@ -78,19 +78,17 @@ echo "Created tarball for $CHECKOUT"
 
 cd "${TEMP_DIR}/${PROJECT}-${RELEASE}/"
 
-set -x
 # 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)
+	cd $(dirname "$link")
 	if [ -f "$TARGET" ]; then
-		rm -f $(basename $link)
-		cp ${TARGET} $(basename $link)
+		rm -f $(basename "$link")
+		cp "${TARGET}" $(basename "$link")
 	fi
 	cd - 1>/dev/null
 done
-set +x
 
 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


More information about the x2go-commits mailing list