Skip to content

Commit caf3b92

Browse files
committed
Force the creation of the gitx clitool
1 parent 49a58c9 commit caf3b92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ApplicationController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ - (IBAction)installCliTool:(id)sender;
6363
if (toolPath) {
6464
AuthorizationRef auth;
6565
if (AuthorizationCreate(NULL, kAuthorizationEmptyEnvironment, kAuthorizationFlagDefaults, &auth) == errAuthorizationSuccess) {
66-
char const* arguments[] = { "-s", [toolPath UTF8String], [installationPath UTF8String], NULL };
66+
char const* arguments[] = { "-f", "-s", [toolPath UTF8String], [installationPath UTF8String], NULL };
6767
char const* helperTool = "/bin/ln";
6868
if (AuthorizationExecuteWithPrivileges(auth, helperTool, kAuthorizationFlagDefaults, (char**)arguments, NULL) == errAuthorizationSuccess) {
6969
int status;

0 commit comments

Comments
 (0)