mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 14:58:25 +00:00
Show conflits on make update (bug #3191)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4599 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
7
Makefile
7
Makefile
@@ -382,8 +382,13 @@ datafiles: all
|
|||||||
update:
|
update:
|
||||||
@if [ -d CVS ]; then \
|
@if [ -d CVS ]; then \
|
||||||
echo "Updating from CVS..." ; \
|
echo "Updating from CVS..." ; \
|
||||||
cvs -q -z3 update -Pd; \
|
cvs -q -z3 update -Pd | tee update.out; \
|
||||||
rm -f .version; \
|
rm -f .version; \
|
||||||
|
if [ `grep -c ^C update.out` -gt 0 ]; then \
|
||||||
|
echo ; echo "The following files have conflicts:" ; \
|
||||||
|
grep ^C update.out | cut -d' ' -f2- ; \
|
||||||
|
fi ; \
|
||||||
|
rm -f update.out; \
|
||||||
else \
|
else \
|
||||||
echo "Not CVS"; \
|
echo "Not CVS"; \
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user