diff --git a/config/make-chromelist.pl b/config/make-chromelist.pl index 633411bc70fe..16f767709465 100644 --- a/config/make-chromelist.pl +++ b/config/make-chromelist.pl @@ -123,7 +123,8 @@ while () if (!$1 || $1 eq "") { $chromefile = $_; - $cvsfile = File::Basename->basename($_); + $_ =~ /.*\/(.*?)$/; + $cvsfile = $1; } # Convert to platform-specific separator for the chrome version.