summaryrefslogtreecommitdiff
path: root/tools/buildzip.pl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-03-12 12:56:35 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-03-12 12:56:35 +0000
commitb46f1acc7062c8811963ea8107f3caf305273f83 (patch)
tree1991556eebdb6986b4f8e9d9c6f916dd16d92c24 /tools/buildzip.pl
parent879070f89e004be03cef53ad7f61610e02e7aa00 (diff)
downloadrockbox-b46f1acc7062c8811963ea8107f3caf305273f83.tar.gz
rockbox-b46f1acc7062c8811963ea8107f3caf305273f83.zip
fix warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12736 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/buildzip.pl')
-rwxr-xr-xtools/buildzip.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/buildzip.pl b/tools/buildzip.pl
index 1000363af7..83397c8e94 100755
--- a/tools/buildzip.pl
+++ b/tools/buildzip.pl
@@ -76,7 +76,7 @@ Depth: LCD_DEPTH
76Codec: CONFIG_CODEC 76Codec: CONFIG_CODEC
77STOP 77STOP
78; 78;
79 close(gcc); 79 close(GCC);
80 80
81 my $c="cat gcctemp | gcc $cppdef -I. -I$firmdir/export -E -P -"; 81 my $c="cat gcctemp | gcc $cppdef -I. -I$firmdir/export -E -P -";
82 82
@@ -191,7 +191,7 @@ sub buildzip {
191 `$c`; 191 `$c`;
192 192
193 system("$ROOT/tools/codepages"); 193 system("$ROOT/tools/codepages");
194 my $c = 'find . -name "*.cp" ! -empty -exec mv {} .rockbox/codepages/ \; >/dev/null 2>&1'; 194 $c = 'find . -name "*.cp" ! -empty -exec mv {} .rockbox/codepages/ \; >/dev/null 2>&1';
195 `$c`; 195 `$c`;
196 196
197 my @call = `find .rockbox/codecs -type f 2>/dev/null`; 197 my @call = `find .rockbox/codecs -type f 2>/dev/null`;
@@ -316,8 +316,8 @@ my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
316$mon+=1; 316$mon+=1;
317$year+=1900; 317$year+=1900;
318 318
319$date=sprintf("%04d%02d%02d", $year,$mon, $mday); 319#$date=sprintf("%04d%02d%02d", $year,$mon, $mday);
320$shortdate=sprintf("%02d%02d%02d", $year%100,$mon, $mday); 320#$shortdate=sprintf("%02d%02d%02d", $year%100,$mon, $mday);
321 321
322# made once for all targets 322# made once for all targets
323sub runone { 323sub runone {