summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-10 02:44:07 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-10 02:44:14 +0200
commita80733595c5c67f95ae7c340f5a6b989f91e22ba (patch)
tree33bff1d028402a56c0c3436a244aa47b828c3ae0 /bin/reproducible_build.sh
parent980d5bdb6ed0d45827ba92c3935eaa6d35d12bcd (diff)
downloadjenkins.debian.net-a80733595c5c67f95ae7c340f5a6b989f91e22ba.tar.xz
reproducible: finally teach the computer French (work in progress)
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-xbin/reproducible_build.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 15f0ab4a..9493089c 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -473,7 +473,9 @@ download_source() {
# the build master only needs to the the .dsc file
schroot --directory $TMPDIR -c source:jenkins-reproducible-$SUITE apt-get -- --download-only --only-source --print-uris source ${SRCPACKAGE} | grep \.dsc|cut -d " " -f1|xargs -r wget --timeout=180 --tries=3 2>&1 | tee ${TMPLOG}
fi
- PARSED_RESULT=$(egrep 'E: (Unable to find a source package for|Failed to fetch.*(Unable to connect to|Connection failed|Size mismatch|Cannot initiate the connection to|Bad Gateway))' ${TMPLOG})
+ local ENGLISH_RESULT=$(egrep 'E: (Unable to find a source package for|Failed to fetch.*(Unable to connect to|Connection failed|Size mismatch|Cannot initiate the connection to|Bad Gateway))' ${TMPLOG})
+ local FRENCH_RESULT=$(egrep 'E: (Unable to find a source package for|impossible de récupérer.*(Unable to connect to|Échec de la connexion|Size mismatch|Cannot initiate the connection to|Bad Gateway))' ${TMPLOG}) # FIXME: please help replace the English strings with the French ones
+ PARSED_RESULT="${ENGLISH_RESULT}${FRENCH_RESULT}"
cat ${TMPLOG} >> ${RBUILDLOG}
rm ${TMPLOG}
set -e