summaryrefslogtreecommitdiff
path: root/wps/wpsbuild.pl
diff options
context:
space:
mode:
Diffstat (limited to 'wps/wpsbuild.pl')
-rwxr-xr-xwps/wpsbuild.pl8
1 files changed, 3 insertions, 5 deletions
diff --git a/wps/wpsbuild.pl b/wps/wpsbuild.pl
index cb9ccbfc80..a07909ca77 100755
--- a/wps/wpsbuild.pl
+++ b/wps/wpsbuild.pl
@@ -144,10 +144,8 @@ sub copythemeviewericon
144{ 144{
145 #copy the viewer icon specified by the theme 145 #copy the viewer icon specified by the theme
146 146
147 if ($viewericon ne '') { 147 $viewericon =~ /\/(.*icons\/(.*))/i;
148 $viewericon =~ /\/(.*icons\/(.*))/i; 148 `cp $ROOT/icons/$2 $1`;
149 `cp $ROOT/icons/$2 $1`;
150 }
151} 149}
152 150
153sub copywps 151sub copywps
@@ -246,7 +244,7 @@ MOO
246 if(defined($iconset)) { 244 if(defined($iconset)) {
247 push @out, "iconset: $iconset\n"; 245 push @out, "iconset: $iconset\n";
248 } 246 }
249 if(defined($viewericon)) { 247 if($viewericon) {
250 push @out, "viewers iconset: $viewericon\n"; 248 push @out, "viewers iconset: $viewericon\n";
251 } 249 }
252 if($lineselecttextcolor && $main_depth > 2 ) { 250 if($lineselecttextcolor && $main_depth > 2 ) {