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-09-28 07:53:07 +0200
commitc36501b531fc77916482de3efb1aa5e4fecaa58a (patch)
tree2fb25b8bf6b1b3580a755745d3722cd744d8ce03
parent99a7271e3b018e6de2d568bdab5a9c62f57ae2ce (diff)
downloadnx-libs-c36501b531fc77916482de3efb1aa5e4fecaa58a.tar.gz
nx-libs-c36501b531fc77916482de3efb1aa5e4fecaa58a.tar.bz2
nx-libs-c36501b531fc77916482de3efb1aa5e4fecaa58a.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"