mirror of
https://github.com/rvtr/twl_wrapsdk.git
synced 2025-10-31 06:11:10 -04:00
small fix
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/twl_wrapsdk/trunk@216 4ee2a332-4b2b-5046-8439-1ba90f034370
This commit is contained in:
parent
fa95dbc025
commit
67c05207b6
@ -104,7 +104,7 @@ die "USAGE: $0 INFILE [OUTFILE]\n" if ($#ARGV != 1 and $#ARGV != 0);
|
||||
# 各種初期化
|
||||
my $infile = $ARGV[0];
|
||||
my $outfile = $ARGV[1];
|
||||
($outfile = $infile) =~ s/\.ini$/.autogen.c/ unless ($outfile);
|
||||
($outfile = $infile) =~ s/\.dat$/.autogen.c/ unless ($outfile);
|
||||
|
||||
# 入出力ファイルのオープン (両方オープンしておく)
|
||||
open IN, $infile or die "Cannot open the input file!\n";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user