From: František Dvořák Date: Tue, 7 May 2013 13:51:33 +0000 (+0200) Subject: Links in mock reports needed during build, just remove them after module finishes. X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=91b64fe5ef6cae06cbb180e25cdbeb5459270818;p=mock.git Links in mock reports needed during build, just remove them after module finishes. --- diff --git a/mock.sh b/mock.sh index 8702f2c..152059b 100755 --- a/mock.sh +++ b/mock.sh @@ -86,6 +86,8 @@ mock_build() { echo "==== Building $BASENAME ==== " touch $REPORTS/fail.$BASENAME rm -f $REPORTS/$BASENAME-root.log $REPORTS/$BASENAME-build.log $REPORTS/root.log $REPORTS/build.log + ln -s $BASENAME-root.log $REPORTS/root.log + ln -s $BASENAME-build.log $REPORTS/build.log touch $REPORTS/$BASENAME-root.log $REPORTS/$BASENAME-build.log echo "+ $CMD --rebuild $FILE" @@ -95,6 +97,7 @@ mock_build() { createrepo results rm -f $REPORTS/fail.$BASENAME + rm -f $REPORTS/root.log $REPORTS/build.log echo $BASENAME >> $REPORTS/success.log echo "==== Done $BASENAME ====" was_build=1