summaryrefslogtreecommitdiffstats
path: root/wps
diff options
context:
space:
mode:
authorChristi Scarborough <christi@coraline.org>2005-11-18 08:48:59 +0000
committerChristi Scarborough <christi@coraline.org>2005-11-18 08:48:59 +0000
commit3b5449f3034df8ad1e200691bbd59b16ef201e4d (patch)
tree7f4a08f017acb90dcb43f8fa1f8053e7d01e2831 /wps
parent8719f0913a0f2d8a90e9ecbc7c0e5336369af6be (diff)
downloadrockbox-3b5449f3034df8ad1e200691bbd59b16ef201e4d.tar.gz
rockbox-3b5449f3034df8ad1e200691bbd59b16ef201e4d.tar.bz2
rockbox-3b5449f3034df8ad1e200691bbd59b16ef201e4d.zip
Initial stab at theme support.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7952 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'wps')
-rwxr-xr-xwps/wpsbuild.pl5
1 files changed, 3 insertions, 2 deletions
diff --git a/wps/wpsbuild.pl b/wps/wpsbuild.pl
index 7fe46adcf3..c0555d824b 100755
--- a/wps/wpsbuild.pl
+++ b/wps/wpsbuild.pl
@@ -90,6 +90,7 @@ sub mkdirs {
my $wpsdir = $wps;
$wpsdir =~ s/\.(r|)wps//;
mkdir ".rockbox/wps", 0777;
+ mkdir ".rockbox/theme", 0777;
if( -d ".rockbox/wps/$wpsdir") {
#print STDERR "wpsbuild warning: directory wps/$wpsdir already exists!\n";
@@ -139,7 +140,7 @@ MOO
if($statusbar) {
push @out, "statusbar: $statusbar\n";
}
- if($rwps) {
+ if($rwps && $isrwps) {
push @out, "rwps: /.rockbox/wps/$rwps\n";
}
@@ -147,7 +148,7 @@ MOO
print STDERR "wpsbuild warning: wps/$cfg already exists!\n";
}
else {
- open(CFG, ">.rockbox/wps/$cfg");
+ open(CFG, ">.rockbox/theme/$cfg");
print CFG @out;
close(CFG);
}