summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcron-jobs/sourceballs4
1 files changed, 4 insertions, 0 deletions
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs
index 625d90d..d07c482 100755
--- a/cron-jobs/sourceballs
+++ b/cron-jobs/sourceballs
@@ -56,6 +56,10 @@ for repo in $repos; do
for arch in $arches; do
export CARCH="$arch"
ftppath="$ftpbase/$repo/os/$arch"
+ if [ ! -d "$ftppath" ]; then
+ echo "FTP path does not exist: $ftppath" >2
+ continue
+ fi
cd $ftppath
for pkg in *$PKGEXT; do
pkgname=$(getpkgname $pkg)