Other old fixes on server applied

This commit is contained in:
Silvan Calarco 2020-09-27 15:59:08 +02:00
parent ac8340c0d6
commit 9ad95404ec
2 changed files with 2 additions and 1 deletions

View File

@ -763,7 +763,7 @@ function launch_pkgs_loop() {
echo "Command: $command"
else
# eval "$command 2>&1 && echo '0'>$tmpfile1 || echo '1'>$tmpfile1" | tail_file $tmpfile "== $pkg (${JOB_VALUES[*]})..."
(export LANG=C; $command 2>&1; echo $? >$tmpfile1) | tail_file $tmpfile "== $pkg (${JOB_VALUES[*]})..."
(export LANG=en_US.UTF-8; $command 2>&1; echo $? >$tmpfile1) | tail_file $tmpfile "== $pkg (${JOB_VALUES[*]})..."
if [ -e $tmpfile1 ]; then
ret=`cat $tmpfile1`
rm -f $tmpfile1

View File

@ -261,6 +261,7 @@ function parse_patch_output() {
function parse_build_output() {
#s|\(.\{10000\}\).*|\1 [CUT - LONG LINE]|;
sed "s|\r.*||;
s/\x90\x8D.*//g;
s|\\\|\\\\\\\|g;s|<|\&lt;|g;
s|[[:cntrl:]]\[[0-9;]*m||g;
s|&lt;font|<font|g;