mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 19:23:59 +00:00
Fix bash syntax
This commit is contained in:
parent
9db3336ca6
commit
2e7730c094
|
@ -135,7 +135,7 @@
|
||||||
absolutePathForAppBundleWithIdentifier:@"org.lilypond.lilypond"]
|
absolutePathForAppBundleWithIdentifier:@"org.lilypond.lilypond"]
|
||||||
stringByAppendingPathComponent:@"Contents/Resources/bin/lilypond"];
|
stringByAppendingPathComponent:@"Contents/Resources/bin/lilypond"];
|
||||||
if (!toolPath)
|
if (!toolPath)
|
||||||
toolPath = [self getLineFromCommand:@"bash -l which lilypond"];
|
toolPath = [self getLineFromCommand:@"bash -l -c 'which lilypond'"];
|
||||||
|
|
||||||
NSString * appVersion = nil;
|
NSString * appVersion = nil;
|
||||||
NSString * toolVersion = nil;
|
NSString * toolVersion = nil;
|
||||||
|
@ -196,7 +196,7 @@
|
||||||
script:(NSString *)script
|
script:(NSString *)script
|
||||||
url:(NSURL *)url
|
url:(NSURL *)url
|
||||||
{
|
{
|
||||||
NSString * hasFink = [self getLineFromCommand:@"bash -l which fink"];
|
NSString * hasFink = [self getLineFromCommand:@"bash -l -c 'which fink'"];
|
||||||
|
|
||||||
int response =
|
int response =
|
||||||
[[NSAlert alertWithMessageText:title
|
[[NSAlert alertWithMessageText:title
|
||||||
|
@ -246,7 +246,7 @@
|
||||||
url:[NSURL URLWithString:@"http://lilypond.org/web/install"]]
|
url:[NSURL URLWithString:@"http://lilypond.org/web/install"]]
|
||||||
)
|
)
|
||||||
quit = YES;
|
quit = YES;
|
||||||
if (![self getLineFromCommand:@"bash -l which python2.5"])
|
if (![self getLineFromCommand:@"bash -l -c 'which python2.5'"])
|
||||||
if ([self promptForSoftwareInstallation:@"Download from python.org"
|
if ([self promptForSoftwareInstallation:@"Download from python.org"
|
||||||
withTitle: @"Python 2.5 Not Found!"
|
withTitle: @"Python 2.5 Not Found!"
|
||||||
explanation:
|
explanation:
|
||||||
|
@ -273,7 +273,7 @@
|
||||||
- (BOOL) lameIsInstalled
|
- (BOOL) lameIsInstalled
|
||||||
{
|
{
|
||||||
if (!lamePath) {
|
if (!lamePath) {
|
||||||
lamePath = [self getLineFromCommand:@"bash -l which lame"];
|
lamePath = [self getLineFromCommand:@"bash -l -c 'which lame'"];
|
||||||
if (!lamePath)
|
if (!lamePath)
|
||||||
if ([self promptForSoftwareInstallation:@"Download"
|
if ([self promptForSoftwareInstallation:@"Download"
|
||||||
withTitle: @"LAME Not Found!"
|
withTitle: @"LAME Not Found!"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user