Skip to content
Snippets Groups Projects
Commit 34f7805b authored by Jason Parker's avatar Jason Parker
Browse files

Add logging for 'make update' command (also fixes updates in some places). ...

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
parent a6da07a5
Branches
Tags
No related merge requests found
......@@ -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:" ; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment