summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/which.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/scripts/which.py')
-rwxr-xr-xTools/scripts/which.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/which.py b/Tools/scripts/which.py
index 99dc355..2182546 100755
--- a/Tools/scripts/which.py
+++ b/Tools/scripts/which.py
@@ -13,7 +13,7 @@ from stat import *
def msg(str):
sys.stderr.write(str + '\n')
-pathlist = os.environ['PATH'].split(':')
+pathlist = os.environ['PATH'].split(os.pathsep)
sts = 0
longlist = ''