aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-07-15 09:30:29 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-07-15 09:30:36 +0200
commit01ad7dad439f446c559e6da8411962c26d99e16a (patch)
tree5a899ec8b810ced149885a4f0fae3b63ed282555
parentc2761fb7c7dc497e48ba51b0943c7c369efef5e7 (diff)
downloadnx-libs-01ad7dad439f446c559e6da8411962c26d99e16a.tar.gz
nx-libs-01ad7dad439f446c559e6da8411962c26d99e16a.tar.bz2
nx-libs-01ad7dad439f446c559e6da8411962c26d99e16a.zip
roll-tarball.sh: more quotes (follow-up for previous commit), drop debug code
-rwxr-xr-xdebian/roll-tarballs.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/debian/roll-tarballs.sh b/debian/roll-tarballs.sh
index 2fba5a042..0f9568aad 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"