From f515029a694a11065f95a79bd83b325bf04562bb Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Fri, 8 May 2009 13:21:39 -0700 Subject: check_archlinux: Skip searching CVS and .svn dirs Prevents some errors in the community scripts due to scanning of CVS dirs. Also skipping .svn dirs for the future (dotglob may be set, in which case we'd scan .svn dirs as well) Signed-off-by: Aaron Griffin --- cron-jobs/check_archlinux/parse_pkgbuilds.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cron-jobs/check_archlinux') diff --git a/cron-jobs/check_archlinux/parse_pkgbuilds.sh b/cron-jobs/check_archlinux/parse_pkgbuilds.sh index 47aec89..7dcfbbb 100755 --- a/cron-jobs/check_archlinux/parse_pkgbuilds.sh +++ b/cron-jobs/check_archlinux/parse_pkgbuilds.sh @@ -56,6 +56,12 @@ parse() { } find_pkgbuilds() { + #Skip over some dirs + local d="$(basename $1)" + if [ "$d" = "CVS" -o "$d" = ".svn" ]; then + return + fi + if [ -f $1/PKGBUILD ]; then parse $1 return -- cgit v1.2.3-24-g4f1b