summaryrefslogtreecommitdiffstats
path: root/utils/skinupdater/updatetheme.pl
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-05-29 14:00:55 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-05-29 14:00:55 +0000
commite8ec20476f20841d9acb026dfb6cd49ba7e25766 (patch)
tree0b50b60846acfab0a70468fbf4a8999e0296c1a9 /utils/skinupdater/updatetheme.pl
parentd2f26206ba7e059a7f10272ebd1a7918a7469582 (diff)
downloadrockbox-e8ec20476f20841d9acb026dfb6cd49ba7e25766.tar.gz
rockbox-e8ec20476f20841d9acb026dfb6cd49ba7e25766.tar.bz2
rockbox-e8ec20476f20841d9acb026dfb6cd49ba7e25766.zip
make the script zip the output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26373 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/skinupdater/updatetheme.pl')
-rwxr-xr-xutils/skinupdater/updatetheme.pl5
1 files changed, 2 insertions, 3 deletions
diff --git a/utils/skinupdater/updatetheme.pl b/utils/skinupdater/updatetheme.pl
index a6c3e20097..fcb28f6f8b 100755
--- a/utils/skinupdater/updatetheme.pl
+++ b/utils/skinupdater/updatetheme.pl
@@ -42,10 +42,9 @@ foreach (@files)
$file = $_;
$out = "$tmp/" . `basename $file`; chomp($out);
`./skinupdater $args $file $out`;
- print "$out";
- `diff -u $file $out >> $tmp/changes.diff`;
+ `diff -u $file $out >> $tmp/$theme_name.diff`;
`mv $out $file`;
- # TODO zip up the new folder..
+ `cd $outdir && zip -r $tmp/$theme_name.zip .`;
}