Skip to content

Commit bfbfbf1

Browse files
committed
Build fix
1 parent 3f652df commit bfbfbf1

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

build.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@
114114

115115
plugin_filename = name + extension;
116116
os.makedirs(target_dir, exist_ok=True)
117+
src = os.path.join(format_path, plugin_filename);
118+
dst = os.path.join(target_dir, plugin_filename);
117119
if os.path.isdir(src):
118-
shutil.copytree(os.path.join(format_path, plugin_filename), os.path.join(target_dir, plugin_filename))
120+
shutil.copytree(src, dst)
119121
else:
120-
shutil.copy2(os.path.join(format_path, plugin_filename), os.path.join(target_dir, plugin_filename))
122+
shutil.copy2(src, dst)

0 commit comments

Comments
 (0)