Author: jfrederic.clere(a)jboss.com
Date: 2014-09-09 11:53:46 -0400 (Tue, 09 Sep 2014)
New Revision: 3372
Modified:
trunk/build/unix/buildbin.mod_cluster.sh
Log:
Add message when failed.
Modified: trunk/build/unix/buildbin.mod_cluster.sh
===================================================================
--- trunk/build/unix/buildbin.mod_cluster.sh 2014-09-09 09:26:47 UTC (rev 3371)
+++ trunk/build/unix/buildbin.mod_cluster.sh 2014-09-09 15:53:46 UTC (rev 3372)
@@ -219,6 +219,10 @@
# Install it (and more the prefork one).
mkdir -p $RPM_BUILD_ROOT/mod_cluster_worker
make DESTDIR=$RPM_BUILD_ROOT/mod_cluster_worker install
+if [ $? -ne 0 ]; then
+ echo "mpmbuild worker install failed"
+ exit 1
+fi
mv ${RPM_BUILD_ROOT}/${_sbindir}/httpd ${RPM_BUILD_ROOT}/${_sbindir}/httpd.prefork
cp ${RPM_BUILD_ROOT}/mod_cluster_worker/${_sbindir}/httpd
${RPM_BUILD_ROOT}/${_sbindir}/httpd
rm -rf ${RPM_BUILD_ROOT}/mod_cluster_worker
Show replies by date