fix error messages
This commit is contained in:
parent
47234433a8
commit
7dccc94e2b
1 changed files with 3 additions and 3 deletions
|
@ -15,13 +15,13 @@ cd $(dirname ${SPEC})
|
|||
|
||||
spectool -g ${SPEC}
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "::error Failed to download sources"
|
||||
echo "::error::Failed to download sources"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mock -r "${SYSTEM}-${ARCH}" --buildsrpm --spec ${SPEC_NAME} --sources . --resultdir result
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "::error Failed to build SRPM"
|
||||
echo "::error::Failed to build SRPM"
|
||||
exit 1
|
||||
fi
|
||||
echo "::endgroup::"
|
||||
|
@ -35,7 +35,7 @@ if [ ${NOCHECK,,} == "true"]; then
|
|||
fi
|
||||
mock -r "${SYSTEM}-${ARCH}" --resultdir result ${OPTS} ${SRPM}
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "::error Failed to build RPM"
|
||||
echo "::error::Failed to build RPM"
|
||||
exit 1
|
||||
fi
|
||||
echo "::endgroup::"
|
||||
|
|
Loading…
Reference in a new issue