Skip to content

Commit

Permalink
fixed logo_outfile save folder
Browse files Browse the repository at this point in the history
  • Loading branch information
bgcngm committed Jul 31, 2012

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 8b1313c commit 6a93dd2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion repack-MT65xx.pl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -116,6 +116,8 @@ sub repack_logo {
$i++;
}
die "Could not find any .rgb565 file under the specified folder: $logodir\n" unless $i > 0;

chdir $dir or die "\n$logodir $!";;

$/ = $slurpvar;
my $num_blocks = $i;
@@ -150,7 +152,7 @@ sub repack_logo {
$logobin = $logo_header . $logobin;

# create the output file
open (RAWFILE, ">../$outfile");
open (RAWFILE, ">$outfile");
binmode(RAWFILE);
print RAWFILE $logobin or die;
close RAWFILE;

0 comments on commit 6a93dd2

Please sign in to comment.