changed /usr/bin/bash to /bin/bash
This commit is contained in:
parent
7190d2aa3d
commit
6f452ab7e1
1 changed files with 7 additions and 7 deletions
|
@ -52,7 +52,7 @@ NSString *backupNameSelected;
|
||||||
NSLog(@"Running NSTask");
|
NSLog(@"Running NSTask");
|
||||||
|
|
||||||
NSTask *createTask = [[NSTask alloc] init];
|
NSTask *createTask = [[NSTask alloc] init];
|
||||||
[createTask setLaunchPath:@"/usr/bin/bash"];
|
[createTask setLaunchPath:@"/bin/bash"];
|
||||||
[createTask setArguments:@[ @"FBCreate", newBackupName]];
|
[createTask setArguments:@[ @"FBCreate", newBackupName]];
|
||||||
[createTask launch];
|
[createTask launch];
|
||||||
[createTask waitUntilExit];
|
[createTask waitUntilExit];
|
||||||
|
@ -137,7 +137,7 @@ NSString *backupNameSelected;
|
||||||
//RUN RESTORE SCRIPT
|
//RUN RESTORE SCRIPT
|
||||||
|
|
||||||
NSTask *restoreTask = [[NSTask alloc] init];
|
NSTask *restoreTask = [[NSTask alloc] init];
|
||||||
[restoreTask setLaunchPath:@"/usr/bin/bash"];
|
[restoreTask setLaunchPath:@"/bin/bash"];
|
||||||
[restoreTask setArguments:@[ @"FBRestore", backupNameSelected]];
|
[restoreTask setArguments:@[ @"FBRestore", backupNameSelected]];
|
||||||
[restoreTask launch];
|
[restoreTask launch];
|
||||||
|
|
||||||
|
@ -206,13 +206,13 @@ NSString *backupNameSelected;
|
||||||
[updateBackupAlert dismissViewControllerAnimated:YES completion:nil];
|
[updateBackupAlert dismissViewControllerAnimated:YES completion:nil];
|
||||||
|
|
||||||
NSTask *deleteTask = [[NSTask alloc] init];
|
NSTask *deleteTask = [[NSTask alloc] init];
|
||||||
[deleteTask setLaunchPath:@"/usr/bin/bash"];
|
[deleteTask setLaunchPath:@"/bin/bash"];
|
||||||
[deleteTask setArguments:@[ @"FBDelete", backupNameSelected]];
|
[deleteTask setArguments:@[ @"FBDelete", backupNameSelected]];
|
||||||
[deleteTask launch];
|
[deleteTask launch];
|
||||||
[deleteTask waitUntilExit];
|
[deleteTask waitUntilExit];
|
||||||
|
|
||||||
NSTask *createTask = [[NSTask alloc] init];
|
NSTask *createTask = [[NSTask alloc] init];
|
||||||
[createTask setLaunchPath:@"/usr/bin/bash"];
|
[createTask setLaunchPath:@"/bin/bash"];
|
||||||
[createTask setArguments:@[ @"FBCreate", backupNameSelected]];
|
[createTask setArguments:@[ @"FBCreate", backupNameSelected]];
|
||||||
[createTask launch];
|
[createTask launch];
|
||||||
[createTask waitUntilExit];
|
[createTask waitUntilExit];
|
||||||
|
@ -277,7 +277,7 @@ NSString *backupNameSelected;
|
||||||
[packageBackupAlert dismissViewControllerAnimated:YES completion:nil];
|
[packageBackupAlert dismissViewControllerAnimated:YES completion:nil];
|
||||||
|
|
||||||
NSTask *packageTask = [[NSTask alloc] init];
|
NSTask *packageTask = [[NSTask alloc] init];
|
||||||
[packageTask setLaunchPath:@"/usr/bin/bash"];
|
[packageTask setLaunchPath:@"/bin/bash"];
|
||||||
[packageTask setArguments:@[ @"FBPackage", backupNameSelected]];
|
[packageTask setArguments:@[ @"FBPackage", backupNameSelected]];
|
||||||
[packageTask launch];
|
[packageTask launch];
|
||||||
[packageTask waitUntilExit];
|
[packageTask waitUntilExit];
|
||||||
|
@ -359,7 +359,7 @@ NSString *backupNameSelected;
|
||||||
//RUN RESTORE SCRIPT
|
//RUN RESTORE SCRIPT
|
||||||
|
|
||||||
NSTask *packageTask = [[NSTask alloc] init];
|
NSTask *packageTask = [[NSTask alloc] init];
|
||||||
[packageTask setLaunchPath:@"/usr/bin/bash"];
|
[packageTask setLaunchPath:@"/bin/bash"];
|
||||||
[packageTask setArguments:@[ @"FBUnpackage"]];
|
[packageTask setArguments:@[ @"FBUnpackage"]];
|
||||||
[packageTask launch];
|
[packageTask launch];
|
||||||
[packageTask waitUntilExit];
|
[packageTask waitUntilExit];
|
||||||
|
@ -502,7 +502,7 @@ NSString *backupNameSelected;
|
||||||
{
|
{
|
||||||
|
|
||||||
NSTask *deleteTask = [[NSTask alloc] init];
|
NSTask *deleteTask = [[NSTask alloc] init];
|
||||||
[deleteTask setLaunchPath:@"/usr/bin/bash"];
|
[deleteTask setLaunchPath:@"/bin/bash"];
|
||||||
[deleteTask setArguments:@[ @"FBDelete", backupNameSelected]];
|
[deleteTask setArguments:@[ @"FBDelete", backupNameSelected]];
|
||||||
[deleteTask launch];
|
[deleteTask launch];
|
||||||
[deleteTask waitUntilExit];
|
[deleteTask waitUntilExit];
|
||||||
|
|
Reference in a new issue