rename bug fix
This commit is contained in:
parent
3ccf661d7c
commit
5cd340ce27
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ checkPresentExportDirectory d _k loc =
|
|||
|
||||
renameExportDirectory :: FilePath -> Key -> ExportLocation -> ExportLocation -> Annex Bool
|
||||
renameExportDirectory d _k oldloc newloc = liftIO $ catchBoolIO $ do
|
||||
createDirectoryIfMissing True dest
|
||||
createDirectoryIfMissing True (takeDirectory dest)
|
||||
renameFile src dest
|
||||
removeExportLocation d oldloc
|
||||
return True
|
||||
|
|
Loading…
Reference in a new issue