wpsbuild.pl: Fix FS#12706 - paths for backdrops and icons were not properly constructed.

Change-Id: I90b92241501f61e6b1de5305ff6482a9ddbdf722
This commit is contained in:
Thomas Martitz 2012-06-25 08:54:21 +02:00
parent 388014567f
commit bc7ff53eab
2 changed files with 8 additions and 8 deletions

View file

@ -3,5 +3,6 @@
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>

View file

@ -589,20 +589,19 @@ while(<WPS>) {
# mangles some filenames
if (defined($backdrop) && $backdrop ne "-") {
copybackdrop();
$backdrop = normalize($backdrop);
$backdrop = "$rbdir/" . normalize($backdrop);
}
foreach my $i ($iconset, $viewericon, $remoteiconset, $remoteviewericon) {
if (defined($i) && $i ne "-") {
copythemeicon($i);
$i = "$rbdir/$i";
}
}
if (defined($font) && $font ne "-") {
copythemefont($font);
$font = "$rbdir/fonts/$font";
}
if (defined($remotefont) && $remotefont ne "-") {
copythemefont($remotefont);
$remotefont = "$rbdir/fonts/$remotefont";
foreach my $i ($font, $remotefont) {
if (defined($i) && $i ne "-") {
copythemefont($font);
$i = "$rbdir/fonts/$font";
}
}
buildcfg();
copywps();