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-27 01:18:45 +0200
commitcc2fdd9622401974b5fa065a4f2fd21e4e9347db (patch)
tree9cc583b5d45ca2097fb32b51f6f5dfde39654151
parente822d5cd9b4326d272a30a13196f3e46f828d7c9 (diff)
downloadnx-libs-cc2fdd9622401974b5fa065a4f2fd21e4e9347db.tar.gz
nx-libs-cc2fdd9622401974b5fa065a4f2fd21e4e9347db.tar.bz2
nx-libs-cc2fdd9622401974b5fa065a4f2fd21e4e9347db.zip
debian/roll-tarballs.sh: use more curly braces.
Prevents random characters as being treated as part of a variable name. Cherry-picked from Arctica GH 3.6.x branch.
-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 cfd667626..21f128737 100755
--- a/debian/roll-tarballs.sh
+++ b/debian/roll-tarballs.sh
@@ -57,7 +57,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
@@ -76,7 +76,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"
@@ -179,7 +179,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"