aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2015-04-26 23:48:02 +0200
committerMihai Moldovan <ionic@ionic.de>2015-04-26 23:48:02 +0200
commit21a556b37f9bacb2a0e0f3246c6bd06359f97bd8 (patch)
treeb226c987be1625e6d5626fe9be66b23a0d986722
parentcf9181918ac8f3b884f7a975c108611d613e1d0f (diff)
downloadnx-libs-21a556b37f9bacb2a0e0f3246c6bd06359f97bd8.tar.gz
nx-libs-21a556b37f9bacb2a0e0f3246c6bd06359f97bd8.tar.bz2
nx-libs-21a556b37f9bacb2a0e0f3246c6bd06359f97bd8.zip
debian/roll-tarballs.sh: use more curly braces.
Prevents random characters as being treated as part of a variable name.
-rwxr-xr-xdebian/roll-tarballs.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/roll-tarballs.sh b/debian/roll-tarballs.sh
index f692c2983..8bf2d51ee 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"