summaryrefslogtreecommitdiff
path: root/main.sh
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-04-13 01:11:20 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-04-13 01:11:20 -0500
commit062b7a2d9b0347e4e867e588826f052d26a3bb30 (patch)
tree00bb9523e53a04f47b102291a2401bc26b858874 /main.sh
parentddacb9a98b90fc2b51551fb73ab8513634f4f185 (diff)
For testing
Diffstat (limited to 'main.sh')
-rwxr-xr-xmain.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.sh b/main.sh
index 9f41a95..d15f736 100755
--- a/main.sh
+++ b/main.sh
@@ -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}/"