Skip to content

Commit

Permalink
libvortex-1.1:
Browse files Browse the repository at this point in the history
* [fix] Updated	buildrpm.sh to check error code	and stop failing
  reporting that error..
  • Loading branch information
francisbrosnan committed Aug 19, 2016
1 parent f41a223 commit a3c8426
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions buildrpm.sh
Expand Up @@ -13,6 +13,13 @@ cp vortex-`cat VERSION`.tar.gz rpm/SOURCES/

echo "Calling to compile packages.."
LANG=C rpmbuild -ba --define '_topdir /usr/src/libvortex-1.1/rpm' rpm/SPECS/vortex.spec
error=$?
if [ $error != 0 ]; then
echo "ERROR: ***"
echo "ERROR: rpmbuild command failed, exitcode=$error"
echo "ERROR: ***"
exit $error
fi

echo "Output ready at rpm/RPMS"
find rpm/RPMS -type f -name '*.rpm' > rpm/RPMS/files
Expand Down

0 comments on commit a3c8426

Please sign in to comment.