summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqwell <qwell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-01-16 18:06:32 +0000
committerqwell <qwell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-01-16 18:06:32 +0000
commit571fa359a565f6859cdbc882a388f334d184c1ea (patch)
treede5c653f88833afc72ae76ba379eaa25e97d34a7
parentdf0329f8a9da04c5fd9e1cbe803f4fbf1fbabd87 (diff)
Add logging for 'make update' command (also fixes updates in some places). Issue #11766, initial patch by jmls.svn_trunk
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@3700 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
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:" ; \