summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/findlinksto.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/scripts/findlinksto.py')
-rwxr-xr-xTools/scripts/findlinksto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/findlinksto.py b/Tools/scripts/findlinksto.py
index 9398514..a8051c1 100755
--- a/Tools/scripts/findlinksto.py
+++ b/Tools/scripts/findlinksto.py
@@ -17,7 +17,7 @@ def visit(pattern, dirname, names):
name = path.join(dirname, name)
try:
linkto = posix.readlink(name)
- if linkto[:n] = pattern:
+ if linkto[:n] == pattern:
print name, '->', linkto
except posix.error:
pass