Always perform the final repositopry actions too.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Sun, 17 Mar 2013 22:00:44 +0000 (23:00 +0100)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Sun, 17 Mar 2013 22:00:44 +0000 (23:00 +0100)
mock.sh

diff --git a/mock.sh b/mock.sh
index dcddca4..eb3b70c 100755 (executable)
--- a/mock.sh
+++ b/mock.sh
@@ -149,6 +149,7 @@ while test -n "$1"; do
                        mkdir $DEBREPO/$DEBDISTRO
                        touch $DEBREPO/$DEBDISTRO/Packages
                fi
+               exit 0
                ;;
 
        gridsite|grids)
@@ -248,3 +249,10 @@ EOF
 
        shift
 done
+
+if test "$CONF" = "pbuilder"; then
+       release_sign
+else
+       rpmsign --addsign results/*.rpm
+       createrepo results
+fi