summaryrefslogtreecommitdiffstats
path: root/rpmbuild-remote.py
diff options
context:
space:
mode:
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):