lxapigen.pl doesn't need the native dir specified on the command line now.
This commit is contained in:
1 parent
0a6a7208d8
commit
25ddf52ad7
1 file changed
+3
-1
+3
-1
@@ -2,6 +2,7 @@
|
||||
|
||||
use warnings;
|
||||
use strict;
|
||||
use File::Basename;
|
||||
|
||||
my %typesizes = (
|
||||
'LONG' => 4,
|
||||
@@ -19,7 +20,8 @@ sub typesize {
|
||||
return $typesizes{$t};
|
||||
}
|
||||
|
||||
my $dirname = defined $ARGV[0] ? $ARGV[0] : 'native';
|
||||
chdir(dirname(__FILE__)) or die("failed to chdir to script location: $!\n");
|
||||
my $dirname = 'native';
|
||||
opendir(DIRH, $dirname) or die("Failed to opendir '$dirname': $!\n");
|
||||
|
||||
while (readdir(DIRH)) {
|
||||
|
||||
Reference in new issue
Block a user