summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@debian.org>2016-06-02 07:59:45 +0000
committerHolger Levsen <holger@layer-acht.org>2016-06-02 10:16:21 +0200
commit3e4247923956e58029dcf9c218776a7c0f701b0a (patch)
tree6a8478230f6ed2a523feefd6a6c32b10a15cc922
parent6dc8ee72716b718f37e5051fc2e3ec8f197f39a6 (diff)
downloadjenkins.debian.net-3e4247923956e58029dcf9c218776a7c0f701b0a.tar.xz
reproducible debian: maintenance: use fixed string matching instead of extended regexp, as it's a whole lot quicker and we don't use regexp here anyway
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-xbin/reproducible_maintenance.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index a84d472f..a4a1b489 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -203,7 +203,7 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then
# (ignore "*None.rbuild.log" because these are build which were just started)
# this job runs every 4h
echo "$(date -u) - Rescheduling failed builds due to diffoscope schroot issues."
- FAILED_BUILDS=$(find $BASE/rbuild -type f ! -name "*None.rbuild.log" ! -mmin +300 -exec zgrep -l -E 'E: 10mount: error: Directory' {} \; || true)
+ FAILED_BUILDS=$(find $BASE/rbuild -type f ! -name "*None.rbuild.log" ! -mmin +300 -exec zgrep -l -F 'E: 10mount: error: Directory' {} \; || true)
if [ ! -z "$FAILED_BUILDS" ] ; then
echo
echo "Warning: The following builds have failed due to diffoscope schroot problems and will be rescheduled now:"