Admit all the build errors and ugly warnings to everyone on Debian too.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Mon, 29 Jul 2013 17:52:47 +0000 (19:52 +0200)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Mon, 29 Jul 2013 17:52:47 +0000 (19:52 +0200)
mock.sh

diff --git a/mock.sh b/mock.sh
index df74667..4d05cad 100755 (executable)
--- a/mock.sh
+++ b/mock.sh
@@ -336,9 +336,9 @@ if test -n "$was_build"; then
                cp -rp $DEBREPO_MAIN/$DEBDISTRO results/debian/
        else
                createrepo results
-               # admit all the build errors and ugly warnings to everyone
-               chmod a+r $REPORTS/*
        fi
+       # admit all the build errors and ugly warnings to everyone
+       chmod a+r $REPORTS/*
 fi
 if test -n "$was_external"; then
        if test "$CONF" != "pbuilder"; then