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
|
installscript (scriptdir </> scriptname action) $ unlines
|
||||||
[ "#!/bin/sh"
|
[ "#!/bin/sh"
|
||||||
, autoaddedcomment
|
, autoaddedcomment
|
||||||
, program ++ " " ++ action ++ " --notify-start --notify-finish \"$@\""
|
, "exec " ++ program ++ " " ++ action ++ " --notify-start --notify-finish -- \"$@\""
|
||||||
]
|
]
|
||||||
scriptname action = "git-annex " ++ action
|
scriptname action = "git-annex " ++ action
|
||||||
installscript f c = whenM (safetoinstallscript f) $ do
|
installscript f c = whenM (safetoinstallscript f) $ do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue