mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Force the creation of the gitx clitool
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user