[project @ 2005-01-06 18:14:40 by ross]
authorross <unknown>
Thu, 6 Jan 2005 18:14:40 +0000 (18:14 +0000)
committerross <unknown>
Thu, 6 Jan 2005 18:14:40 +0000 (18:14 +0000)
extensions no longer include dots

System/Directory.hs

index 0989986..6c35122 100644 (file)
@@ -524,7 +524,7 @@ findExecutable binary = do
   path <- getEnv "PATH"
   search (parseSearchPath path)
   where
-    fileName = binary `joinFileExt` drop 1 exeExtension
+    fileName = binary `joinFileExt` exeExtension
 
     search :: [FilePath] -> IO (Maybe FilePath)
     search [] = return Nothing