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:
parent
458b55dac6
commit
c112b7897e
1 changed files with 1 additions and 1 deletions
|
@ -406,7 +406,7 @@ while(<WPS>) {
|
||||||
}
|
}
|
||||||
|
|
||||||
# prefix $rbdir with / if needed (needed for the theme.cfg)
|
# prefix $rbdir with / if needed (needed for the theme.cfg)
|
||||||
unless ($rbdir =~ /\/.*/) {
|
unless ($rbdir =~ m/^\/.*/) {
|
||||||
$rbdir = "/" . $rbdir;
|
$rbdir = "/" . $rbdir;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue