Commit 60bb601e authored by Ronald Oussoren's avatar Ronald Oussoren

Fix for bug #1570284

parent 970edae6
...@@ -207,7 +207,7 @@ ...@@ -207,7 +207,7 @@
[NSNumber numberWithBool: inspect], @"inspect", [NSNumber numberWithBool: inspect], @"inspect",
[NSNumber numberWithBool: optimize], @"optimize", [NSNumber numberWithBool: optimize], @"optimize",
[NSNumber numberWithBool: nosite], @"nosite", [NSNumber numberWithBool: nosite], @"nosite",
[NSNumber numberWithBool: nosite], @"nosite", [NSNumber numberWithBool: tabs], @"tabs",
others, @"others", others, @"others",
scriptargs, @"scriptargs", scriptargs, @"scriptargs",
[NSNumber numberWithBool: with_terminal], @"with_terminal", [NSNumber numberWithBool: with_terminal], @"with_terminal",
...@@ -235,7 +235,7 @@ ...@@ -235,7 +235,7 @@
if (value) optimize = [value boolValue]; if (value) optimize = [value boolValue];
value = [dict objectForKey: @"nosite"]; value = [dict objectForKey: @"nosite"];
if (value) nosite = [value boolValue]; if (value) nosite = [value boolValue];
value = [dict objectForKey: @"nosite"]; value = [dict objectForKey: @"tabs"];
if (value) tabs = [value boolValue]; if (value) tabs = [value boolValue];
value = [dict objectForKey: @"others"]; value = [dict objectForKey: @"others"];
if (value) others = [value retain]; if (value) others = [value retain];
...@@ -291,7 +291,7 @@ ...@@ -291,7 +291,7 @@
tabs?" -t":"", tabs?" -t":"",
others, others,
[self _replaceSingleQuotes:script], [self _replaceSingleQuotes:script],
scriptargs, scriptargs ? scriptargs : @"",
with_terminal? "&& echo Exit status: $? && exit 1" : " &"]; with_terminal? "&& echo Exit status: $? && exit 1" : " &"];
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment