summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-16 22:13:12 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-16 22:13:12 +0200
commit6e4697ffc96c415dd57564420973d8260b1b08ac (patch)
treeac4e352fa3230f7a221dd583a1a81d8b500bc2c9
parentc7f056bd24491b2bcdc04e8f1e9e2ab468cd5243 (diff)
downloadjenkins.debian.net-6e4697ffc96c415dd57564420973d8260b1b08ac.tar.xz
reproducible arch: show directory contents if no build results were found
-rwxr-xr-xbin/reproducible_build_arch_pkg.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_build_arch_pkg.sh b/bin/reproducible_build_arch_pkg.sh
index 74fd6897..9a723bbf 100755
--- a/bin/reproducible_build_arch_pkg.sh
+++ b/bin/reproducible_build_arch_pkg.sh
@@ -148,7 +148,7 @@ elif [ "$1" = "1" ] || [ "$1" = "2" ] ; then
second_build
fi
# preserve results and delete build directory
- mv -v /tmp/$SRCPACKAGE-$(basename $TMPDIR)/$SRCPACKAGE/*-x86_64.pkg.tar.?? $TMPDIR/b$MODE/$SRCPACKAGE/
+ mv -v /tmp/$SRCPACKAGE-$(basename $TMPDIR)/$SRCPACKAGE/*-x86_64.pkg.tar.?? $TMPDIR/b$MODE/$SRCPACKAGE/ || ls /tmp/$SRCPACKAGE-$(basename $TMPDIR)/$SRCPACKAGE/
rm -r /tmp/$SRCPACKAGE-$(basename $TMPDIR)/
echo "$(date -u) - build #$MODE for $SRCPACKAGE on $HOSTNAME done."
exit 0