qwell: trunk r2164 - in /trunk: ./ Makefile

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Wed Jan 16 12:06:18 CST 2008


Author: qwell
Date: Wed Jan 16 12:06:17 2008
New Revision: 2164

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=2164
Log:
Add logging for 'make update' command (also fixes updates in some places).  Issue #11766, initial patch by jmls.

Modified:
    trunk/   (props changed)
    trunk/Makefile

Propchange: trunk/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Wed Jan 16 12:06:17 2008
@@ -3,3 +3,4 @@
 config.status
 autom4te.cache
 aclocal.m4
+update.log

Modified: trunk/Makefile
URL: http://svn.digium.com/view/asterisk-gui/trunk/Makefile?view=diff&rev=2164&r1=2163&r2=2164
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Wed Jan 16 12:06:17 2008
@@ -304,7 +304,10 @@
 update: 
 	@if [ -d .svn ]; then \
 		echo "Updating from Subversion..." ; \
+		fromrev="`svn info | $(AWK) '/Revision: / {print $$2}'`"; \
 		svn update | tee update.out; \
+		torev="`svn info | $(AWK) '/Revision: / {print $$2}'`"; \
+		echo "`date`  Updated from revision $${fromrev} to $${torev}." >> update.log; \
 		rm -f .version; \
 		if [ `grep -c ^C update.out` -gt 0 ]; then \
 			echo ; echo "The following files have conflicts:" ; \




More information about the asterisk-gui-commits mailing list