summaryrefslogtreecommitdiffstats
path: root/wps
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-08-05 14:31:07 +0000
committerThomas Martitz <kugel@rockbox.org>2010-08-05 14:31:07 +0000
commitc112b7897efece1a4cb68237c681364ea65d0635 (patch)
treefaa5880104e774f71d6a0853cc632086d0f33ea2 /wps
parent458b55dac69f63c434fcc78ba3c344afbbad1abb (diff)
downloadrockbox-c112b7897efece1a4cb68237c681364ea65d0635.tar.gz
rockbox-c112b7897efece1a4cb68237c681364ea65d0635.tar.bz2
rockbox-c112b7897efece1a4cb68237c681364ea65d0635.zip
Fix leading slash regex in wpsbuild.pl
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27721 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'wps')
-rwxr-xr-xwps/wpsbuild.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/wps/wpsbuild.pl b/wps/wpsbuild.pl
index 7e54f109cb..e516c3d444 100755
--- a/wps/wpsbuild.pl
+++ b/wps/wpsbuild.pl
@@ -406,7 +406,7 @@ while(<WPS>) {
}
# prefix $rbdir with / if needed (needed for the theme.cfg)
- unless ($rbdir =~ /\/.*/) {
+ unless ($rbdir =~ m/^\/.*/) {
$rbdir = "/" . $rbdir;
}