summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/linktree.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/scripts/linktree.py')
-rwxr-xr-xTools/scripts/linktree.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/scripts/linktree.py b/Tools/scripts/linktree.py
index 502873e..995f2ef 100755
--- a/Tools/scripts/linktree.py
+++ b/Tools/scripts/linktree.py
@@ -76,4 +76,5 @@ def linknames(old, new, link):
else:
os.symlink(linkname, newname)
-sys.exit(main())
+if __name__ == '__main__':
+ sys.exit(main())