Fix leading slash regex in wpsbuild.pl

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27721 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2010-08-05 14:31:07 +00:00
parent 458b55dac6
commit c112b7897e
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ while(<WPS>) {
}
# prefix $rbdir with / if needed (needed for the theme.cfg)
unless ($rbdir =~ /\/.*/) {
unless ($rbdir =~ m/^\/.*/) {
$rbdir = "/" . $rbdir;
}