From 34f7805ba6f033390ee5d4f70af7b22ffbedbbc5 Mon Sep 17 00:00:00 2001 From: Jason Parker <jparker@digium.com> Date: Wed, 16 Jan 2008 18:06:14 +0000 Subject: [PATCH] Add logging for 'make update' command (also fixes updates in some places). Issue #11766, initial patch by jmls. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@98968 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 19c385e8c2..5127e3fd0b 100644 --- a/Makefile +++ b/Makefile @@ -474,7 +474,10 @@ datafiles: _all 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:" ; \ -- GitLab