summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build_arch_pkg.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-16 18:52:02 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-16 18:52:02 +0200
commitaf1289bd02da7d85e566d30cc0a9748b20bcfe86 (patch)
treecb6363502866695e1eb3136cae1c64f38f770f47 /bin/reproducible_build_arch_pkg.sh
parente896d89bf6cc5ee57bac65fa8731b4006339592a (diff)
downloadjenkins.debian.net-af1289bd02da7d85e566d30cc0a9748b20bcfe86.tar.xz
reproducible arch: delete source package before providing build results for rsyncing
Diffstat (limited to 'bin/reproducible_build_arch_pkg.sh')
-rwxr-xr-xbin/reproducible_build_arch_pkg.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/reproducible_build_arch_pkg.sh b/bin/reproducible_build_arch_pkg.sh
index f93bfcef..4ecef3df 100755
--- a/bin/reproducible_build_arch_pkg.sh
+++ b/bin/reproducible_build_arch_pkg.sh
@@ -144,6 +144,8 @@ elif [ "$1" = "1" ] || [ "$1" = "2" ] ; then
else
second_build
fi
+ # delete source package before providing build results for rsyncing
+ rm /tmp/$SRCPACKAGE-$(basename/$SRCPACKAGE -r
mv -v /tmp/$SRCPACKAGE-$(basename $TMPDIR) $TMPDIR/b$MODE/archlinux/
echo "$(date -u) - build #$MODE for $SRCPACKAGE on $HOSTNAME done."
exit 0