summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-02-17 00:21:35 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-02-17 00:21:35 -0400
commit1ed5e4d9e3084f5371eb318c500254e1547240e7 (patch)
tree631b30b9b8de029180f2dae648875008a49c7693 /Command
parentf3c75b601f7a8a46d1e5a064f5c3eb5d828998ab (diff)
variable name
Diffstat (limited to 'Command')
-rw-r--r--Command/ReKey.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/ReKey.hs b/Command/ReKey.hs
index 2bd4541c6..6de7e45e3 100644
--- a/Command/ReKey.hs
+++ b/Command/ReKey.hs
@@ -46,9 +46,9 @@ perform file oldkey newkey = do
{- Make a hard link to the old key content, to avoid wasting disk space. -}
linkKey :: Key -> Key -> Annex Bool
-linkKey oldkey newkey = getViaTmpUnchecked newkey $ \t -> do
+linkKey oldkey newkey = getViaTmpUnchecked newkey $ \tmp -> do
src <- inRepo $ gitAnnexLocation oldkey
- liftIO $ unlessM (doesFileExist t) $ createLink src t
+ liftIO $ unlessM (doesFileExist tmp) $ createLink src tmp
return True
cleanup :: FilePath -> Key -> Key -> CommandCleanup