From: Chris Koeritz Date: Mon, 19 Jan 2015 02:25:46 +0000 (-0500) Subject: muting errors from the find command, since some we cannot shut up otherwise, such... X-Git-Tag: 2.140.90~719 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=d83e2059d79a541cbbe161d99120fb27c4dde2fe;p=feisty_meow.git muting errors from the find command, since some we cannot shut up otherwise, such as the looping complaints when going down into "~/.wine". --- diff --git a/scripts/rev_control/version_control.sh b/scripts/rev_control/version_control.sh index eac16d42..5f5725c0 100644 --- a/scripts/rev_control/version_control.sh +++ b/scripts/rev_control/version_control.sh @@ -258,8 +258,8 @@ function generate_rev_ctrl_filelist() local dirhere="$( \cd "$(\dirname "$dir")" && \pwd )" local tempfile=$(mktemp /tmp/zz_rev_checkin.XXXXXX) echo >$tempfile - find $dirhere -follow -maxdepth 5 -type d -iname ".svn" -exec echo {}/.. ';' >>$tempfile - find $dirhere -follow -maxdepth 5 -type d -iname ".git" -exec echo {}/.. ';' >>$tempfile + find $dirhere -follow -maxdepth 5 -type d -iname ".svn" -exec echo {}/.. ';' >>$tempfile 2>/dev/null + find $dirhere -follow -maxdepth 5 -type d -iname ".git" -exec echo {}/.. ';' >>$tempfile 2>/dev/null # CVS is not well behaved like git and (now) svn, and we seldom use it anymore. popd &>/dev/null local sortfile=$(mktemp /tmp/zz_rev_checkin_sort.XXXXXX)