summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/which.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/scripts/which.py b/Tools/scripts/which.py
index 0aff2cd..a05d919 100755
--- a/Tools/scripts/which.py
+++ b/Tools/scripts/which.py
@@ -4,6 +4,9 @@
# On stderr, near and total misses are reported.
# '-l<flags>' argument adds ls -l<flags> of each file found.
+import sys
+if sys.path[0] in (".", ""): del sys.path[0]
+
import sys, os, string
from stat import *