diff options
Diffstat (limited to 'Tools/scripts/linktree.py')
-rwxr-xr-x | Tools/scripts/linktree.py | 3 |
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()) |