installNautilus: “exec” git-annex and protect params with “--”
This commit is contained in:
parent
cc6a7108f5
commit
284e6b5e8d
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ installNautilus program = do
|
|||
installscript (scriptdir </> scriptname action) $ unlines
|
||||
[ "#!/bin/sh"
|
||||
, autoaddedcomment
|
||||
, program ++ " " ++ action ++ " --notify-start --notify-finish \"$@\""
|
||||
, "exec " ++ program ++ " " ++ action ++ " --notify-start --notify-finish -- \"$@\""
|
||||
]
|
||||
scriptname action = "git-annex " ++ action
|
||||
installscript f c = whenM (safetoinstallscript f) $ do
|
||||
|
|
Loading…
Reference in a new issue