fix absolute filenames fed into --batch and git-annex info
This commit is contained in:
parent
a14168a321
commit
957a87b437
14 changed files with 106 additions and 37 deletions
|
@ -38,7 +38,7 @@ seek o = case batchOption o of
|
|||
(rn:[]) -> toRemote rn >>= \r -> return (flip check (Just r))
|
||||
[] -> return (flip check Nothing)
|
||||
_ -> wrongnumparams
|
||||
batchInput fmt Right $ checker >=> batchResult
|
||||
batchInput fmt (pure . Right) $ checker >=> batchResult
|
||||
where
|
||||
wrongnumparams = giveup "Wrong number of parameters"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue