From caf3b92e90de90db33a99bbecbe36f39730b9f1c Mon Sep 17 00:00:00 2001 From: Pieter de Bie Date: Sat, 13 Sep 2008 01:32:56 +0200 Subject: [PATCH] Force the creation of the gitx clitool --- ApplicationController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApplicationController.m b/ApplicationController.m index b7fa10e..57db79f 100644 --- a/ApplicationController.m +++ b/ApplicationController.m @@ -63,7 +63,7 @@ if (toolPath) { AuthorizationRef auth; if (AuthorizationCreate(NULL, kAuthorizationEmptyEnvironment, kAuthorizationFlagDefaults, &auth) == errAuthorizationSuccess) { - char const* arguments[] = { "-s", [toolPath UTF8String], [installationPath UTF8String], NULL }; + char const* arguments[] = { "-f", "-s", [toolPath UTF8String], [installationPath UTF8String], NULL }; char const* helperTool = "/bin/ln"; if (AuthorizationExecuteWithPrivileges(auth, helperTool, kAuthorizationFlagDefaults, (char**)arguments, NULL) == errAuthorizationSuccess) { int status;