From 571fa359a565f6859cdbc882a388f334d184c1ea Mon Sep 17 00:00:00 2001 From: qwell Date: Wed, 16 Jan 2008 18:06:32 +0000 Subject: Add logging for 'make update' command (also fixes updates in some places). Issue #11766, initial patch by jmls. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@3700 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 5c36660..9e7ff0b 100644 --- a/Makefile +++ b/Makefile @@ -474,7 +474,10 @@ config: 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:" ; \ -- cgit v1.2.3