idiom
This commit is contained in:
parent
167523f09d
commit
4f9336bb60
5 changed files with 6 additions and 6 deletions
|
@ -51,7 +51,7 @@ main' c@(cmd:dir:params)
|
|||
main' c@(cmd:_)
|
||||
-- Handle the case of being the user's login shell. It will be passed
|
||||
-- a single string containing all the real parameters.
|
||||
| isPrefixOf "git-annex-shell " cmd = main' $ drop 1 $ shellUnEscape cmd
|
||||
| "git-annex-shell " `isPrefixOf` cmd = main' $ drop 1 $ shellUnEscape cmd
|
||||
| elem cmd builtins = failure
|
||||
| otherwise = external c
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue