Deal with backslash delimited paths in make-proto.pl
This commit is contained in:
@@ -180,6 +180,7 @@ sub foo {
|
|||||||
local ($arg) = @_;
|
local ($arg) = @_;
|
||||||
$_ = $arg;
|
$_ = $arg;
|
||||||
s/.*\/([^\/]*)/$1/;
|
s/.*\/([^\/]*)/$1/;
|
||||||
|
s/.*\\([^\\]*)/$1/;
|
||||||
s/[^a-zA-Z0-9]/_/g;
|
s/[^a-zA-Z0-9]/_/g;
|
||||||
"__" . $_ . "__";
|
"__" . $_ . "__";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user