Commit 904a129a by sspans

skip absolute path creation for old_src, not needed with the new relative links

parent 684921c1
......@@ -293,8 +293,6 @@ def main():
changed = True
elif prev_state == 'link':
old_src = os.readlink(path)
if not os.path.isabs(old_src):
old_src = os.path.join(os.path.dirname(path), old_src)
if old_src != src:
changed = True
elif prev_state == 'hard':
......
Markdown is supported
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