diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-04-13 01:11:20 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-04-13 01:11:20 -0500 |
commit | 062b7a2d9b0347e4e867e588826f052d26a3bb30 (patch) | |
tree | 00bb9523e53a04f47b102291a2401bc26b858874 /main.sh | |
parent | ddacb9a98b90fc2b51551fb73ab8513634f4f185 (diff) |
For testing
Diffstat (limited to 'main.sh')
-rwxr-xr-x | main.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -29,8 +29,10 @@ stdnull "rm -rf ${pending}*" for repo in $(echo ${repo_list} | tr ':' ' '); do for arch in $(echo ${arch_list} | tr ':' ' '); do msg2 "Syncing ${repo} ${arch}" - ${rsync_post_command} --exclude-from=${rsync_blacklist} \ - ${mirror}${mirropath}/${repo} ${repodir}/${repo} + cmd=$(echo ${rsync_post_command} --exclude-from=${rsync_blacklist} \ + ${mirror}${mirropath}/${repo} ${repodir}/${repo}) + plain "${cmd}" + ${cmd} msg2 "Cleaning ${repo} ${arch}" # This also generates pending lists run_python_cmd "clean_repo.py -b ${repodir}/${repo}/os/${arch}/${repo}.db.tar.gz -d ${repodir}/${repo}/os/${arch}/" |