Skip to content

Commit

Permalink
remove symlink before creating a new one
Browse files Browse the repository at this point in the history
  • Loading branch information
Joaquin Matres committed Mar 26, 2020
1 parent 1347d0e commit 71af073
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install_generic_tech.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ def install_generic_tech(src, dest):

dest_folder = dest.parent
dest_folder.mkdir(exist_ok=True, parents=True)
os.remove(dest)
os.symlink(src, dest)
print(f"generic layermap installed to {dest}")

Expand Down

0 comments on commit 71af073

Please sign in to comment.