diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-08-13 09:47:31 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-08-13 09:47:31 +0200 |
commit | a422060414670bb49d2422a38467b73ae01e7ecb (patch) | |
tree | f67c7216398ea6bf0aced46828235ca07fdbcf90 /cron-jobs/sourceballs | |
parent | e2c005b490df6762e23da3223944151c17d1de80 (diff) | |
download | dbscripts-a422060414670bb49d2422a38467b73ae01e7ecb.tar.gz dbscripts-a422060414670bb49d2422a38467b73ae01e7ecb.tar.xz |
Use common functions to print messages, warnings and errors
These functions are copied from makepkg
Diffstat (limited to 'cron-jobs/sourceballs')
-rwxr-xr-x | cron-jobs/sourceballs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs index 78c3959..b82e375 100755 --- a/cron-jobs/sourceballs +++ b/cron-jobs/sourceballs @@ -22,7 +22,7 @@ for repo in ${repos[@]}; do for arch in ${ARCHES[@]} any; do ftppath="$ftpbase/$repo/os/$arch" if [ ! -d "$ftppath" ]; then - echo "FTP path does not exist: $ftppath" >2 + error "FTP path does not exist: $ftppath" continue fi cd $ftppath |