Author: mchristensen
Date: 2008-02-12 16:54:33 -0500 (Tue, 12 Feb 2008)
New Revision: 95551
Modified:
trunk/release/obs/bin/osc-make-all
Log:
Changed output during build to include log file before build starts
which makes it easier to tail the current log if you want.
Added actual command line to what I say is being run so that the
individual build can be duplicated seperately.
Modified: trunk/release/obs/bin/osc-make-all
===================================================================
--- trunk/release/obs/bin/osc-make-all 2008-02-12 21:02:43 UTC (rev 95550)
+++ trunk/release/obs/bin/osc-make-all 2008-02-12 21:54:33 UTC (rev 95551)
@@ -43,11 +43,12 @@
echo
echo "#############################################"
echo "Exicuting the following command:"
- echo "osc build ${MYDIST} ${SPEC_FILE}"
- osc build ${I} ${SPEC_FILE} > ${BUILD_LOG} 2>&1
- if ! (tail -50 $BUILD_LOG | grep -E
"/var/tmp/build-root.*/usr/src/(redhat|packages)/.*rpm"); then
- echo "${MYDIST} build failed, check ${BUILD_LOG}" >> $FAILED_LOG
- echo_in_red "${MYDIST} build failed, check ${BUILD_LOG}"
+ echo "osc build --no-verify ${MYDIST} ${SPEC_FILE}"
+ ecbo "Log file: ${BUILD_LOG}"
+ osc build --no-verify ${I} ${SPEC_FILE} > ${BUILD_LOG} 2>&1
+ if ! (tail -50 ${BUILD_LOG} | grep -E
"/var/tmp/build-root.*/usr/src/(redhat|packages)/.*rpm"); then
+ echo "${MYDIST} build failed, check ${BUILD_LOG}" >> ${FAILED_LOG}
+ echo_in_red "${MYDIST} build failed"
else
echo_in_green "${MYDIST} build succeeded!"
fi
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches