Fix makefile creation problem when full path contains meta chars. Bug 50431. Thanks to ume@mahoroba.org for the patch.
git-svn-id: svn://10.0.0.236/trunk@81820 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -43,7 +43,8 @@ chomp $object_root;
|
||||
# called from "mozilla/gfx/src", then $source_subdir would be
|
||||
# "gfx/src/".
|
||||
$source_subdir = "$object_fullpath/";
|
||||
$source_subdir =~ s|^$object_root/||;
|
||||
my $quoted_object_root = quotemeta($object_root);
|
||||
$source_subdir =~ s|^$quoted_object_root/||;
|
||||
|
||||
# Prefix makefiles with $source_subdir so that paths
|
||||
# will be relative to the top of the object tree.
|
||||
|
||||
Reference in New Issue
Block a user