diff --git a/mozilla/config/make-jars.pl b/mozilla/config/make-jars.pl index f90bbc958c4..ea3277b4fb6 100644 --- a/mozilla/config/make-jars.pl +++ b/mozilla/config/make-jars.pl @@ -444,7 +444,7 @@ sub EnsureFileInDir #print "copying $destPath, from $srcPath\n"; my $dir = ""; my $file; - if ($destPath =~ /([\w\d.\-\_\\\/\+]+)[\\\/]([\w\d.\-\_]+)/) { + if ($destPath =~ /(.+)[\\\/]([\w\d.\-\_]+)/) { $dir = $1; $file = $2; }