Copy result repository to results (the same behaviour as for mock builds).
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 17 Apr 2013 15:19:52 +0000 (17:19 +0200)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 17 Apr 2013 15:19:52 +0000 (17:19 +0200)
mock.sh

diff --git a/mock.sh b/mock.sh
index fb2ccdc..6d82a8b 100755 (executable)
--- a/mock.sh
+++ b/mock.sh
@@ -259,6 +259,8 @@ done
 
 if test "$CONF" = "pbuilder"; then
        release_sign
+       sudo rm -rfv results/pbuilder
+       cp -rp $DEBREPO results/
 else
        rpmsign --addsign results/*.rpm
        createrepo results