summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-14 19:07:54 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-14 19:07:54 +0100
commitcac8be9bccbf8422abd5cd65074f703831e5aec0 (patch)
tree3f21af01c89f73736dc9a77014e9e3e28ae34ab9
parentce635cfda99d608e30f0502ff19244b149e9990e (diff)
downloadjenkins.debian.net-cac8be9bccbf8422abd5cd65074f703831e5aec0.tar.xz
silent update
-rwxr-xr-xupdate_jdn.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index 1a6c6bf9..5f237643 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -426,9 +426,9 @@ if [ "$HOSTNAME" = "jenkins" ] ; then
rm $TMPFILE
TMPDIR=$(mktemp -d)
sudo cp -pr userContent $TMPDIR/
- sudo chown jenkins.jenkins $TMPDIR
- sudo cp -vpr $TMPDIR/userContent /var/lib/jenkins/
- sudo rm -r $TMPDIR
+ sudo chown -R jenkins.jenkins $TMPDIR
+ sudo cp -pr $TMPDIR/userContent /var/lib/jenkins/
+ sudo rm -r $TMPDIR > /dev/null
cd /var/lib/jenkins/userContent/
ASCIIDOC_PARAMS="-a numbered -a data-uri -a iconsdir=/etc/asciidoc/images/icons -a scriptsdir=/etc/asciidoc/javascripts -b html5 -a toc -a toclevels=4 -a icons -a stylesheet=$(pwd)/theme/debian-asciidoc.css"
[ about.html -nt README ] || asciidoc $ASCIIDOC_PARAMS -o about.html README