fix tilde expansion
This commit is contained in:
parent
9a038b4a9b
commit
22d7447ced
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ checkRepositoryPath p = do
|
||||||
tocheck <- ifM (doesDirectoryExist path)
|
tocheck <- ifM (doesDirectoryExist path)
|
||||||
(return path, return $ parentDir path)
|
(return path, return $ parentDir path)
|
||||||
not <$> (catchBoolIO $ fileAccess tocheck False True False)
|
not <$> (catchBoolIO $ fileAccess tocheck False True False)
|
||||||
expandTilde home ('~':path) = home </> path
|
expandTilde home ('~':'/':path) = home </> path
|
||||||
expandTilde _ path = path
|
expandTilde _ path = path
|
||||||
|
|
||||||
{- On first run, if run in the home directory, default to putting it in
|
{- On first run, if run in the home directory, default to putting it in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue