distgit: Properly make the symlink

This commit is contained in:
Mathieu Bridon 2015-06-04 18:10:20 +02:00
parent 6393ef117c
commit fefea74100

View file

@ -213,7 +213,7 @@ def main():
# The file already existed at the old path, hardlink over it
os.unlink(old_path)
os.link(old_path)
os.link(dest_file, old_path)
# Emit a fedmsg message. Load the config to talk to the fedmsg-relay.
try: