forked from OSchip/llvm-project
Don't have special treatment from pruning the common suffices of files in /Developer, /usr, etc.
llvm-svn: 60491
This commit is contained in:
parent
fff9f4aaaf
commit
eda6c23984
|
@ -281,10 +281,6 @@ sub UpdatePrefix {
|
|||
my $x = shift;
|
||||
my $y = basename($x);
|
||||
$x =~ s/\Q$y\E$//;
|
||||
|
||||
# Ignore /usr, /Library, /System, /Developer
|
||||
return if ( $x =~ /^\/usr/ or $x =~ /^\/Library/
|
||||
or $x =~ /^\/System/ or $x =~ /^\/Developer/);
|
||||
|
||||
if (!defined $Prefix) {
|
||||
$Prefix = $x;
|
||||
|
|
Loading…
Reference in New Issue