Commit 21a556b3 authored by Mihai Moldovan's avatar Mihai Moldovan

debian/roll-tarballs.sh: use more curly braces.

Prevents random characters as being treated as part of a variable name.
parent cf918191
...@@ -56,7 +56,7 @@ if [ x"$RELEASE" == "xHEAD" ]; then ...@@ -56,7 +56,7 @@ if [ x"$RELEASE" == "xHEAD" ]; then
fi fi
if ! git rev-parse --verify -q "$CHECKOUT" >/dev/null; then 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 " Please specify one of the following releases:"
echo "HEAD" echo "HEAD"
git tag -l | grep "^redist" | cut -f2 -d"/" | sort -u git tag -l | grep "^redist" | cut -f2 -d"/" | sort -u
...@@ -75,7 +75,7 @@ git archive --format=tar "${CHECKOUT}" --prefix="${PROJECT}-${RELEASE}/" | ( cd ...@@ -75,7 +75,7 @@ git archive --format=tar "${CHECKOUT}" --prefix="${PROJECT}-${RELEASE}/" | ( cd
echo "Created tarball for $CHECKOUT" echo "Created tarball for $CHECKOUT"
cd "$TEMP_DIR/${PROJECT}-${RELEASE}/" cd "${TEMP_DIR}/${PROJECT}-${RELEASE}/"
mkdir -p "doc/applied-patches" mkdir -p "doc/applied-patches"
...@@ -119,7 +119,7 @@ rm -Rf nx*/configure nx*/autom4te.cache* ...@@ -119,7 +119,7 @@ rm -Rf nx*/configure nx*/autom4te.cache*
cd "$OLDPWD" cd "$OLDPWD"
# create target location for tarball # create target location for tarball
mkdir -p "$TARGETDIR/_releases_/source/${PROJECT}/" mkdir -p "${TARGETDIR}/_releases_/source/${PROJECT}/"
# roll the ball... # roll the ball...
cd "$TEMP_DIR" cd "$TEMP_DIR"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment