summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-02 21:52:14 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-02 21:52:14 +0100
commit12f846cfb2ae0b703f96dc0c1339d3f9a6cfcc97 (patch)
tree26094f9a326ebc6da7528e3130b31f87fb27c661 /bin
parentbe30c497dced2d24d5f5990a839eeee6e089d7b1 (diff)
downloadjenkins.debian.net-12f846cfb2ae0b703f96dc0c1339d3f9a6cfcc97.tar.xz
fixup c4278aa8
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_common.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index c9f82f30..0bddbeb9 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -188,11 +188,11 @@ write_page_meta_sign() {
publish_page() {
if [ "$1" = "" ] ; then
TARGET=$PAGE
- if [ "$SUITE" = "sid" ] && [ "$VIEW" = "$MAINVIEW" ] ; then
- cp $PAGE /var/lib/jenkins/userContent/reproducible.html
- fi
else
TARGET=$1/$PAGE
+ if [ "$1" = "sid" ] && [ "$VIEW" = "$MAINVIEW" ] ; then
+ cp $PAGE /var/lib/jenkins/userContent/reproducible.html
+ fi
fi
cp $PAGE /var/lib/jenkins/userContent/$TARGET
rm $PAGE