mirror of
https://gitlab.com/smart-pattern/valentina.git
synced 2024-09-19 15:24:03 +02:00
Fix typo.
This commit is contained in:
parent
1de614dd2b
commit
679890a368
|
@ -24,7 +24,7 @@ def debug_extension():
|
||||||
|
|
||||||
return debug_ext
|
return debug_ext
|
||||||
|
|
||||||
def rename_debug_file(debug_file, corrected_debug_name):
|
def rename_debug_file(debug_file, corrected_debug_path):
|
||||||
if sys.platform == "darwin":
|
if sys.platform == "darwin":
|
||||||
suffix = "_tmp"
|
suffix = "_tmp"
|
||||||
else:
|
else:
|
||||||
|
@ -69,7 +69,7 @@ def generate_sym_files(install_root):
|
||||||
if os.path.exists(debug_file) and os.path.exists(corrected_debug_path):
|
if os.path.exists(debug_file) and os.path.exists(corrected_debug_path):
|
||||||
# case-insensitive file system
|
# case-insensitive file system
|
||||||
rename = True
|
rename = True
|
||||||
rename_debug_file(debug_file, corrected_debug_name)
|
rename_debug_file(debug_file, corrected_debug_path)
|
||||||
else:
|
else:
|
||||||
if sys.platform == "darwin":
|
if sys.platform == "darwin":
|
||||||
shutil.copytree(debug_file, corrected_debug_path)
|
shutil.copytree(debug_file, corrected_debug_path)
|
||||||
|
|
Loading…
Reference in a new issue