diff options
Diffstat (limited to 'Command')
-rw-r--r-- | Command/Export.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Command/Export.hs b/Command/Export.hs index cc463b7dc..22ea72170 100644 --- a/Command/Export.hs +++ b/Command/Export.hs @@ -20,6 +20,7 @@ import Git.FilePath import Git.Sha import Types.Key import Types.Remote +import Types.Export import Annex.Content import Annex.CatFile import Logs.Location @@ -321,6 +322,6 @@ cleanupRename ea db ek src dest = do removeExportLocation db (asKey ek) src addExportLocation db (asKey ek) dest flushDbQueue db - if exportedDirectories src /= exportedDirectories dest + if exportDirectories src /= exportDirectories dest then removeEmptyDirectories ea db src [asKey ek] else return True |