diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-05-08 22:21:39 +0200 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-05-08 22:21:39 +0200 |
commit | f515029a694a11065f95a79bd83b325bf04562bb (patch) | |
tree | 9dfc9d716e95eb31c11633c500b6b36aeafc443c /cron-jobs | |
parent | 73f460e1224873d12b6e5879450d79a4b4465b0f (diff) | |
download | dbscripts-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')
-rwxr-xr-x | cron-jobs/check_archlinux/parse_pkgbuilds.sh | 6 |
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 |