Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ecbundle/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def symlink_force(target, link_name):
os.remove(link_name)
os.symlink(target_orig, link_name)

if not os.path.exists(link_name):
if os.path.exists(target_orig) and not os.path.exists(link_name):
error(
"ERROR: Failed to create valid link from {0} to {1}".format(
link_name, target_orig
Expand Down