ruby: allow explicit target-os override in codegen

develop
jj 2012-07-01 14:20:55 +02:00
parent 31a5495031
commit 554683929f
1 changed files with 1 additions and 0 deletions

@ -13,6 +13,7 @@ if ($^O =~ /linux/i) {
} else {
$os = 'windows';
}
$os = $ARGV[2] if ($ARGV[2]);
sub indent_rb(&) {
my ($sub) = @_;