summaryrefslogtreecommitdiff
path: root/lorry.raw-file-importer
diff options
context:
space:
mode:
Diffstat (limited to 'lorry.raw-file-importer')
-rwxr-xr-xlorry.raw-file-importer2
1 files changed, 1 insertions, 1 deletions
diff --git a/lorry.raw-file-importer b/lorry.raw-file-importer
index de35e58..968193a 100755
--- a/lorry.raw-file-importer
+++ b/lorry.raw-file-importer
@@ -60,7 +60,7 @@ def commit_lfs_file(raw_file, relative_path, last_commit, fast_import):
# Commit the data to master
commit_time = int(time.time())
basename = os.path.basename(raw_file)
- path = '{}/{}'.format(relative_path, basename)
+ path = os.path.relpath(os.path.join(relative_path, basename))
fromline = 'from {}\n'.format(last_commit) if last_commit else ''