Skip to content

Commit

Permalink
fix changing symlink targets if prev target is a dir
Browse files Browse the repository at this point in the history
  • Loading branch information
trehn committed Dec 6, 2017
1 parent 2e8cd51 commit c751932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundlewrap/items/symlinks.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def _fix_owner(self, status):
_fix_group = _fix_owner

def _fix_target(self, status):
self.node.run("ln -sf -- {} {}".format(
self.node.run("ln -sfT -- {} {}".format(
quote(self.attributes['target']),
quote(self.name),
))
Expand Down

0 comments on commit c751932

Please sign in to comment.