Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : skvidal-backend
---------------------------------------------------------------
commit 858a5331b1902764f7ee9a3838c7c1a2c8cfe10a
Author: Seth Vidal <skvidal(a)fedoraproject.org>
Date: Wed Dec 5 15:47:03 2012 -0500
spaces in rsync command for name of copr :-/
---------------------------------------------------------------
backend/mockremote.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/backend/mockremote.py b/backend/mockremote.py
index 7698de9..3d39f3d 100755
--- a/backend/mockremote.py
+++ b/backend/mockremote.py
@@ -329,6 +329,7 @@ class Builder(object):
success = False
rpd = self._get_remote_pkg_dir(pkg)
+ destdir = "'" + destdir.replace("'",
"'\\''") + "'" # make spaces work w/our rsync command
below :(
# build rsync command line from the above
remote_src = '%s@%s:%s' % (self.username, self.hostname, rpd)
ssh_opts = "'ssh -o PasswordAuthentication=no -o
StrictHostKeyChecking=no'"