blob: cea8afff1574c1f9cd44049f684fb1bf689fd53b (
plain)
1
2
3
4
5
6
7
8
|
import System.FilePath
import System.Directory
wd1 <- getCurrentDirectory
setCurrentDirectory ".."
wd2 <- getCurrentDirectory
wd1_parent <- canonicalizePath (wd1 </> "..")
wd1_parent `equalFilePath` wd2
|