[Asterisk-Dev] trivial patch requesting comments before filing

Jason Pyeron jpyeron at pdinc.us
Tue Nov 8 15:09:41 MST 2005


.cleancount is in .cvsignore and in cvs, this is bad because sometimes a 
.cvsignore is used to clean up. When that happens the cp -f bombs out.

That being said should .cleancount be removed from cvs?

RCS file: /usr/cvsroot/asterisk/Makefile,v
diff -u -r1.223 Makefile
--- Makefile    8 Nov 2005 03:31:45 -0000       1.223
+++ Makefile    8 Nov 2005 20:47:25 -0000
@@ -893,6 +893,7 @@
  # We can avoid this by making noclean

  cleantest:
+       if [ ! -f .cleancount ] ; then echo 0 > .cleancount && rm -f .lastclean; fi
         if cmp -s .cleancount .lastclean ; then echo ; else \
                 $(MAKE) clean; cp -f .cleancount .lastclean;\
         fi


-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Partner & Sr. Manager             7 West 24th Street #100     -
- +1 (443) 269-1555                 Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain 
privileged, proprietary, or otherwise private information. If you 
have received it in error, purge the message from your system and 
notify the sender immediately.  Any other use of the email by you 
is prohibited.



More information about the asterisk-dev mailing list