diff options
Diffstat (limited to 'wps/wpsbuild.pl')
-rwxr-xr-x | wps/wpsbuild.pl | 5 |
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 { | |||
90 | my $wpsdir = $wps; | 90 | my $wpsdir = $wps; |
91 | $wpsdir =~ s/\.(r|)wps//; | 91 | $wpsdir =~ s/\.(r|)wps//; |
92 | mkdir ".rockbox/wps", 0777; | 92 | mkdir ".rockbox/wps", 0777; |
93 | mkdir ".rockbox/theme", 0777; | ||
93 | 94 | ||
94 | if( -d ".rockbox/wps/$wpsdir") { | 95 | if( -d ".rockbox/wps/$wpsdir") { |
95 | #print STDERR "wpsbuild warning: directory wps/$wpsdir already exists!\n"; | 96 | #print STDERR "wpsbuild warning: directory wps/$wpsdir already exists!\n"; |
@@ -139,7 +140,7 @@ MOO | |||
139 | if($statusbar) { | 140 | if($statusbar) { |
140 | push @out, "statusbar: $statusbar\n"; | 141 | push @out, "statusbar: $statusbar\n"; |
141 | } | 142 | } |
142 | if($rwps) { | 143 | if($rwps && $isrwps) { |
143 | push @out, "rwps: /.rockbox/wps/$rwps\n"; | 144 | push @out, "rwps: /.rockbox/wps/$rwps\n"; |
144 | } | 145 | } |
145 | 146 | ||
@@ -147,7 +148,7 @@ MOO | |||
147 | print STDERR "wpsbuild warning: wps/$cfg already exists!\n"; | 148 | print STDERR "wpsbuild warning: wps/$cfg already exists!\n"; |
148 | } | 149 | } |
149 | else { | 150 | else { |
150 | open(CFG, ">.rockbox/wps/$cfg"); | 151 | open(CFG, ">.rockbox/theme/$cfg"); |
151 | print CFG @out; | 152 | print CFG @out; |
152 | close(CFG); | 153 | close(CFG); |
153 | } | 154 | } |