Rev 474: fixed exit code in makerpms.sh in
http://samba.org/~tridge/ctdb
tridge at samba.org
tridge at samba.org
Wed Jun 6 01:12:15 GMT 2007
------------------------------------------------------------
revno: 474
revision-id: tridge at samba.org-20070606011214-c23wxzjj2harql7u
parent: tridge at samba.org-20070606004113-5sel38xl9y0dddve
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Wed 2007-06-06 11:12:14 +1000
message:
fixed exit code in makerpms.sh
modified:
packaging/RPM/makerpms.sh makerpms.sh-20070527204758-biuh7znabuwan3zn-4
=== modified file 'packaging/RPM/makerpms.sh'
--- a/packaging/RPM/makerpms.sh 2007-06-01 13:25:33 +0000
+++ b/packaging/RPM/makerpms.sh 2007-06-06 01:12:14 +0000
@@ -81,7 +81,7 @@
##
echo "$(basename $0): Getting Ready to build release package"
cd ${SPECDIR}
-${RPMBUILD} -ba --clean --rmsource $EXTRA_OPTIONS $SPECFILE
+${RPMBUILD} -ba --clean --rmsource $EXTRA_OPTIONS $SPECFILE || exit 1
echo "$(basename $0): Done."
[ ${REMOVE_LN} ] && /bin/rm -f $REMOVE_LN
More information about the samba-cvs
mailing list