summaryrefslogtreecommitdiffstats
path: root/cron-jobs/check_archlinux
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-05-08 22:21:39 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2009-05-08 22:21:39 +0200
commitf515029a694a11065f95a79bd83b325bf04562bb (patch)
tree9dfc9d716e95eb31c11633c500b6b36aeafc443c /cron-jobs/check_archlinux
parent73f460e1224873d12b6e5879450d79a4b4465b0f (diff)
downloaddbscripts-f515029a694a11065f95a79bd83b325bf04562bb.tar.gz
dbscripts-f515029a694a11065f95a79bd83b325bf04562bb.tar.xz
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 <aaronmgriffin@gmail.com>
Diffstat (limited to 'cron-jobs/check_archlinux')
-rwxr-xr-xcron-jobs/check_archlinux/parse_pkgbuilds.sh6
1 files changed, 6 insertions, 0 deletions
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