From c112b7897efece1a4cb68237c681364ea65d0635 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Thu, 5 Aug 2010 14:31:07 +0000 Subject: [PATCH] Fix leading slash regex in wpsbuild.pl git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27721 a1c6a512-1295-4272-9138-f99709370657 --- wps/wpsbuild.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { } # prefix $rbdir with / if needed (needed for the theme.cfg) - unless ($rbdir =~ /\/.*/) { + unless ($rbdir =~ m/^\/.*/) { $rbdir = "/" . $rbdir; }