mirror of
https://tvoygit.ru/Djam/r11-builder-agent.git
synced 2025-02-23 10:22:45 +00:00
move pipestatus around script
This commit is contained in:
parent
a1675282c4
commit
fc443bdd4b
1 changed files with 4 additions and 3 deletions
|
@ -289,16 +289,17 @@ do
|
|||
sleep ${WAIT_TIME}
|
||||
fi
|
||||
fi
|
||||
rc=${PIPESTATUS[0]}
|
||||
$MOCK_BIN -v --configdir=$config_dir --buildsrpm --spec=$build_package/${spec_name} --sources=$build_package --no-cleanup-after --no-clean $extra_build_src_rpm_options --resultdir=$OUTPUT_FOLDER
|
||||
python /mdv/check_arch.py "${OUTPUT_FOLDER}"/*.src.rpm ${platform_arch}
|
||||
rc=$?; if [[ $rc -ne 0 ]]; then exit 6; fi
|
||||
if [[ $? -ne 0 ]]; then exit 6; fi
|
||||
else
|
||||
rc=${PIPESTATUS[0]}
|
||||
$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
|
||||
python /mdv/check_arch.py "${OUTPUT_FOLDER}"/*.src.rpm ${platform_arch}
|
||||
rc=$?; if [[ $rc -ne 0 ]]; then exit 6; fi
|
||||
if [[ $? -ne 0 ]]; then exit 6; fi
|
||||
fi
|
||||
|
||||
rc=${PIPESTATUS[0]}
|
||||
try_rebuild=false
|
||||
if [[ $rc != 0 && $retry < $MAX_RETRIES ]]; then
|
||||
if grep -q "$RETRY_GREP_STR" $OUTPUT_FOLDER/root.log; then
|
||||
|
|
Loading…
Add table
Reference in a new issue