From f0948d82c8a6000c1879ca1715aeae841f89e085 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Fri, 6 Sep 2013 12:02:40 -0400 Subject: [PATCH] one level deeper, and now i hit everything i tend to have under my home. --- scripts/rev_control/version_control.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/rev_control/version_control.sh b/scripts/rev_control/version_control.sh index e96af846..a238cae2 100644 --- a/scripts/rev_control/version_control.sh +++ b/scripts/rev_control/version_control.sh @@ -247,10 +247,9 @@ function generate_rev_ctrl_filelist() local dirhere="$(\pwd)" local tempfile=$(mktemp /tmp/zz_rev_checkin.XXXXXX) echo >$tempfile - find $dirhere -maxdepth 4 -type d -iname ".svn" -exec echo {}/.. ';' >>$tempfile - find $dirhere -maxdepth 4 -type d -iname ".git" -exec echo {}/.. ';' >>$tempfile -#CVS is not well behaved, and we seldom use it anymore. -# find $dirhere -maxdepth 3 -type d -iname "CVS" -exec echo {}/.. ';' >>$tempfile + find $dirhere -maxdepth 5 -type d -iname ".svn" -exec echo {}/.. ';' >>$tempfile + find $dirhere -maxdepth 5 -type d -iname ".git" -exec echo {}/.. ';' >>$tempfile + # CVS is not well behaved like git and (now) svn, and we seldom use it anymore. popd &>/dev/null echo "$tempfile" } -- 2.34.1