From 44de795b68512e3febaffd2af531c142217657ec Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 30 Jun 2011 16:36:24 -0400 Subject: [PATCH] update cvs-cleanup --- .bin/cvs-cleanup | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.bin/cvs-cleanup b/.bin/cvs-cleanup index 7dcd3c9..bd6545c 100755 --- a/.bin/cvs-cleanup +++ b/.bin/cvs-cleanup @@ -1,6 +1,11 @@ #!/bin/bash find -name .cvsignore -exec rm {} \; -cvs up -I'!' | grep -v .cvsignore | awk '{print $NF}' | grep -v cleanup >& cvsup -rm -vrf $(& cvsup +cat cvsup | xargs rm -vrf +find '(' -name '*~' -o -name '*.o' -o '.#*' ')' -print0 | xargs -0 rm -vf cvs up > /dev/null rm -f cvsup -- 2.39.5