diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2009-09-10 15:12:07 -0400 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2009-09-10 15:12:07 -0400 |
commit | 02774e8b025fae3454883a072f21496b31d5985d (patch) | |
tree | a4a275011d9eac8d77b7e50da60912df31a878fb | |
parent | c01d80c5c99c824794f4f123f024d22238dfb009 (diff) | |
download | rpmbuild-remote-02774e8b025fae3454883a072f21496b31d5985d.tar.gz rpmbuild-remote-02774e8b025fae3454883a072f21496b31d5985d.tar.xz rpmbuild-remote-02774e8b025fae3454883a072f21496b31d5985d.zip |
Cross-platform
-rwxr-xr-x | rpmbuild-remote.py | 2 |
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): |