diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-08-05 14:31:07 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-08-05 14:31:07 +0000 |
commit | c112b7897efece1a4cb68237c681364ea65d0635 (patch) | |
tree | faa5880104e774f71d6a0853cc632086d0f33ea2 | |
parent | 458b55dac69f63c434fcc78ba3c344afbbad1abb (diff) | |
download | rockbox-c112b7897efece1a4cb68237c681364ea65d0635.tar.gz 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
-rwxr-xr-x | wps/wpsbuild.pl | 2 |
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>) { | |||
406 | } | 406 | } |
407 | 407 | ||
408 | # prefix $rbdir with / if needed (needed for the theme.cfg) | 408 | # prefix $rbdir with / if needed (needed for the theme.cfg) |
409 | unless ($rbdir =~ /\/.*/) { | 409 | unless ($rbdir =~ m/^\/.*/) { |
410 | $rbdir = "/" . $rbdir; | 410 | $rbdir = "/" . $rbdir; |
411 | } | 411 | } |
412 | 412 | ||