summaryrefslogtreecommitdiffstats
path: root/rpmbuild-remote.py
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-09-10 15:12:07 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-09-10 15:12:07 -0400
commit02774e8b025fae3454883a072f21496b31d5985d (patch)
treea4a275011d9eac8d77b7e50da60912df31a878fb /rpmbuild-remote.py
parentc01d80c5c99c824794f4f123f024d22238dfb009 (diff)
downloadrpmbuild-remote-02774e8b025fae3454883a072f21496b31d5985d.zip
rpmbuild-remote-02774e8b025fae3454883a072f21496b31d5985d.tar.gz
rpmbuild-remote-02774e8b025fae3454883a072f21496b31d5985d.tar.xz
Cross-platform
Diffstat (limited to 'rpmbuild-remote.py')
-rwxr-xr-xrpmbuild-remote.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmbuild-remote.py b/rpmbuild-remote.py
index 6d42d7e..45ac4d2 100755
--- a/rpmbuild-remote.py
+++ b/rpmbuild-remote.py
@@ -129,7 +129,7 @@ def get_files(session, files, dest):
sftp = session.open_sftp()
for file in files:
LOG.info("Fetching %s from server (%s)" % (file, dest))
- sftp.get(file, '%s/%s' % (dest, os.path.basename(file)))
+ sftp.get(file, os.path.join(dest, os.path.basename(file)))
sftp.close()
def log_regex(build_output):