From 284e6b5e8de17f44b25005c25020be4b7f5cf628 Mon Sep 17 00:00:00 2001 From: Johan Kiviniemi Date: Sun, 23 Mar 2014 07:28:28 +0200 Subject: [PATCH] =?UTF-8?q?installNautilus:=20=E2=80=9Cexec=E2=80=9D=20git?= =?UTF-8?q?-annex=20and=20protect=20params=20with=20=E2=80=9C--=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assistant/Install.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assistant/Install.hs b/Assistant/Install.hs index ff30022219..f7190ecdc9 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