diff options
author | Johan Kiviniemi <devel@johan.kiviniemi.name> | 2014-03-23 07:28:28 +0200 |
---|---|---|
committer | Johan Kiviniemi <devel@johan.kiviniemi.name> | 2014-03-23 07:28:28 +0200 |
commit | 9f81bfcf67f75355c4c2799dd9be66d374049deb (patch) | |
tree | 3bb7a00a74cc6a3947873a7569fb720f8bb01170 /Assistant | |
parent | 44d86b73ba4559f20188ee689f0ee398c5e8d39f (diff) |
installNautilus: “exec” git-annex and protect params with “--”
Diffstat (limited to 'Assistant')
-rw-r--r-- | Assistant/Install.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Assistant/Install.hs b/Assistant/Install.hs index ff3002221..f7190ecdc 100644 --- a/Assistant/Install.hs +++ b/Assistant/Install.hs @@ -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 |