mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-19 18:39:35 +01:00
Removing -x option from astyle command in order to support older versions
This commit is contained in:
parent
676bc8f7ba
commit
d36cc78bca
@ -143,7 +143,7 @@ sub pretty {
|
|||||||
my $code = join '', @_;
|
my $code = join '', @_;
|
||||||
my $result;
|
my $result;
|
||||||
|
|
||||||
my $pid = open2(\*IN, \*OUT, 'astyle -xUpf');
|
my $pid = open2(\*IN, \*OUT, 'astyle -Upf');
|
||||||
print OUT "$code\n";
|
print OUT "$code\n";
|
||||||
close OUT;
|
close OUT;
|
||||||
while(my $line = <IN>) {
|
while(my $line = <IN>) {
|
||||||
|
@ -767,7 +767,7 @@ sub pretty {
|
|||||||
my $code = join '', @_;
|
my $code = join '', @_;
|
||||||
my $result;
|
my $result;
|
||||||
|
|
||||||
my $pid = open2(\*IN, \*OUT, 'astyle -xUpf');
|
my $pid = open2(\*IN, \*OUT, 'astyle -Upf');
|
||||||
print OUT "$code\n";
|
print OUT "$code\n";
|
||||||
close OUT;
|
close OUT;
|
||||||
while(my $line = <IN>) {
|
while(my $line = <IN>) {
|
||||||
|
Loading…
Reference in New Issue
Block a user