buildenv: Special-case Python's site.py' and site.pyc'.

* corepkgs/buildenv/builder.pl.in (createLinks): Skip `site.py' and
  `site.pyc' files.
This commit is contained in:
Ludovic Courtès 2010-05-05 20:46:41 +00:00
parent 4bab25a28d
commit 4750065ada

View file

@ -39,6 +39,8 @@ sub createLinks {
$srcFile =~ /\/nix-support$/ || $srcFile =~ /\/nix-support$/ ||
$srcFile =~ /\/perllocal.pod$/ || $srcFile =~ /\/perllocal.pod$/ ||
$srcFile =~ /\/easy-install.pth$/ || $srcFile =~ /\/easy-install.pth$/ ||
$srcFile =~ /\/site.py$/ ||
$srcFile =~ /\/site.pyc$/ ||
$srcFile =~ /\/info\/dir$/ || $srcFile =~ /\/info\/dir$/ ||
$srcFile =~ /\/log$/) $srcFile =~ /\/log$/)
{ {