mirror of
https://tvoygit.ru/Djam/r11-builder-agent.git
synced 2025-02-23 18:32:46 +00:00
pipestatus definetly broken
This commit is contained in:
parent
e6285e64a0
commit
d437224c29
1 changed files with 4 additions and 4 deletions
|
@ -278,7 +278,7 @@ do
|
|||
$MOCK_BIN --chroot "urpmi.removemedia -a"
|
||||
$MOCK_BIN --readdrepo -v --configdir $config_dir
|
||||
# (tpg) catch errors when adding repositories into chroot
|
||||
rc=${PIPESTATUS[0]}
|
||||
# rc=${PIPESTATUS[0]}
|
||||
try_rebuild=false
|
||||
if [[ $rc != 0 && $retry < $MAX_RETRIES ]]; then
|
||||
if grep -q "$RETRY_GREP_STR" $OUTPUT_FOLDER/root.log; then
|
||||
|
@ -296,9 +296,9 @@ do
|
|||
else
|
||||
$MOCK_BIN -v --configdir=$config_dir --buildsrpm --spec=$build_package/${spec_name} --sources=$build_package --no-cleanup-after $extra_build_src_rpm_options --resultdir=$OUTPUT_FOLDER
|
||||
if [[ $? -ne 0 ]]; then exit 1; fi
|
||||
rc=${PIPESTATUS[0]}
|
||||
python /mdv/check_arch.py "${OUTPUT_FOLDER}"/*.src.rpm ${platform_arch}
|
||||
if [[ $? -ne 0 ]]; then exit 6; fi
|
||||
# rc=${PIPESTATUS[0]}
|
||||
# python /mdv/check_arch.py "${OUTPUT_FOLDER}"/*.src.rpm ${platform_arch}
|
||||
# if [[ $? -ne 0 ]]; then exit 6; fi
|
||||
fi
|
||||
|
||||
try_rebuild=false
|
||||
|
|
Loading…
Add table
Reference in a new issue