diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-08-11 21:37:21 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2011-08-11 21:37:21 -0300 |
commit | d1de884ad56e0756a80d5c00bb723e7f2a56491b (patch) | |
tree | 8c05cde0219f02147e1f55bd00976985f07a84cf /cron-jobs/repo-sanity-check | |
parent | 986fbe51101674c290df8f5c9d0dc3f507c172e2 (diff) |
Changed xargs for find -exec
Diffstat (limited to 'cron-jobs/repo-sanity-check')
-rw-r--r-- | cron-jobs/repo-sanity-check | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cron-jobs/repo-sanity-check b/cron-jobs/repo-sanity-check index a6249b5..52ca33b 100644 --- a/cron-jobs/repo-sanity-check +++ b/cron-jobs/repo-sanity-check @@ -38,8 +38,8 @@ for _repo in ${REPOS[@]}; do <(echo ${on_repo[@]} | tr ' ' "\n" | sort))) # Remove them from databases, ftpdir-cleanup will take care of the rest - find ${FTP_BASE}/${_repo} -name "*.db.tar.?z" -print0 | \ - xargs -0 repo-remove {} ${remove[@]} + find ${FTP_BASE}/${_repo} -name "*.db.tar.?z" -exec \ + repo-remove {} ${remove[@]} \; done |