[X2Go-Commits] [nx-libs] 39/45: debian/roll-tarballs.sh: use more curly braces.

git-admin at x2go.org git-admin at x2go.org
Mon Apr 27 04:51:04 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 21a556b37f9bacb2a0e0f3246c6bd06359f97bd8
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sun Apr 26 23:48:02 2015 +0200

    debian/roll-tarballs.sh: use more curly braces.
    
    Prevents random characters as being treated as part of a variable name.
---
 debian/roll-tarballs.sh |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/roll-tarballs.sh b/debian/roll-tarballs.sh
index f692c29..8bf2d51 100755
--- a/debian/roll-tarballs.sh
+++ b/debian/roll-tarballs.sh
@@ -56,7 +56,7 @@ if [ x"$RELEASE" == "xHEAD" ]; then
 fi
 
 if ! git rev-parse --verify -q "$CHECKOUT" >/dev/null; then
-    echo "   '${RELEASE}' is not a valid release number because there is no git tag named $CHECKOUT."
+    echo "   '${RELEASE}' is not a valid release number because there is no git tag named ${CHECKOUT}."
     echo "   Please specify one of the following releases:"
     echo "HEAD"
     git tag -l | grep "^redist" | cut -f2 -d"/" | sort -u
@@ -75,7 +75,7 @@ git archive --format=tar "${CHECKOUT}" --prefix="${PROJECT}-${RELEASE}/" | ( cd
 
 echo "Created tarball for $CHECKOUT"
 
-cd "$TEMP_DIR/${PROJECT}-${RELEASE}/"
+cd "${TEMP_DIR}/${PROJECT}-${RELEASE}/"
 
 mkdir -p "doc/applied-patches"
 
@@ -119,7 +119,7 @@ rm -Rf nx*/configure nx*/autom4te.cache*
 cd "$OLDPWD"
 
 # create target location for tarball
-mkdir -p "$TARGETDIR/_releases_/source/${PROJECT}/"
+mkdir -p "${TARGETDIR}/_releases_/source/${PROJECT}/"
 
 # roll the ball...
 cd "$TEMP_DIR"

--
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