Commit 3ea559e3 authored by Felix Seibert's avatar Felix Seibert
Browse files

fix paths again

parent f6bdb393
......@@ -482,7 +482,7 @@ class OSDManager(object):
command = ""
for move_folder in osd_to_folders_map[key]:
folder_path = os.path.join(self.pathToMountPoint, move_folder[len(self.volumeName) + 1:])
folder_tmp_path = os.path.join(tmp_dir, move_folder[len(self.volumeName) + 1:])
folder_tmp_path = os.path.join(tmp_dir, os.path.split(move_folder)[1])
# copy folder to temporary location
command += "srun -N1-1 --nodelist=" + host_name
command += " cp -r " + folder_path + " " + tmp_dir + " ; "
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment