[Piuparts-devel] [Git][debian/piuparts][develop] master-bin/detect_piuparts_issues: ignore files which vanish during run.
Holger Levsen
gitlab at salsa.debian.org
Wed Dec 19 09:22:50 GMT 2018
Holger Levsen pushed to branch develop at Debian / piuparts
Commits:
1a6d962d by Holger Levsen at 2018-12-19T09:22:31Z
master-bin/detect_piuparts_issues: ignore files which vanish during run.
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
2 changed files:
- debian/changelog
- master-bin/detect_piuparts_issues.in
Changes:
=====================================
debian/changelog
=====================================
@@ -1,6 +1,6 @@
piuparts (0.96) UNRELEASED; urgency=medium
- * ...
+ * master-bin/detect_piuparts_issues: ignore files which vanish during run.
-- Holger Levsen <holger at debian.org> Sun, 09 Dec 2018 22:29:43 +0100
=====================================
master-bin/detect_piuparts_issues.in
=====================================
@@ -92,7 +92,7 @@ for SECTION in $SECTIONS ; do
test -d $MASTER/$SECTION || continue
for subdir in fail bugged affected ; do
test -d $MASTER/$SECTION/$subdir || continue
- grep -r -l -E --include '*.log' "$PATTERN" $MASTER/$SECTION/$subdir >> $FILE
+ grep -r -l -E --include '*.log' "$PATTERN" $MASTER/$SECTION/$subdir >> $FILE 2>/dev/null
find $MASTER/$SECTION/$subdir -name '*.log' -size 0 >> $FILE
done
done
View it on GitLab: https://salsa.debian.org/debian/piuparts/commit/1a6d962d878321b004acd3dc88861eac456d54fb
--
View it on GitLab: https://salsa.debian.org/debian/piuparts/commit/1a6d962d878321b004acd3dc88861eac456d54fb
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/piuparts-devel/attachments/20181219/e0ecbfcd/attachment.html>
More information about the Piuparts-devel
mailing list