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)
|
||||
(return path, return $ parentDir path)
|
||||
not <$> (catchBoolIO $ fileAccess tocheck False True False)
|
||||
expandTilde home ('~':path) = home </> path
|
||||
expandTilde home ('~':'/':path) = home </> path
|
||||
expandTilde _ path = path
|
||||
|
||||
{- On first run, if run in the home directory, default to putting it in
|
||||
|
|
Loading…
Add table
Reference in a new issue