FIX #2521: trailing colon in GHC_PACKAGE_PATH
authorSimon Marlow <marlowsd@gmail.com>
Mon, 18 Aug 2008 11:33:45 +0000 (11:33 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 18 Aug 2008 11:33:45 +0000 (11:33 +0000)
commite4f46f5de1749a06a927d98f0195e208f5eff374
treeae86d6878517ffc8cbd47d47431919147f152400
parent082089d195345e5c367df82b599e2c0848fb9d0b
FIX #2521: trailing colon in GHC_PACKAGE_PATH
This was broken in the System.FilePath switchover, since filepath's
splitSearchPath doesn't do what we want (it ignores empty
components on Windows, and treats them as "." on Unix).  So we use our
own hand-rolled version, just like GHC.
utils/ghc-pkg/Main.hs