summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcron-jobs/sourceballs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs
index 0d8be62..f285d7f 100755
--- a/cron-jobs/sourceballs
+++ b/cron-jobs/sourceballs
@@ -49,6 +49,7 @@ for repo in $repos; do
fi
cd $ftppath
for pkg in *$PKGEXT; do
+ [ -f "$pkg" ] || continue
pkgbase=$(getpkgbase $pkg)
srcpath="$srcbase/"
srcpkg="${pkg//$PKGEXT/$SRCEXT}"