diff options
author | Ludovic Courtès <ludo@gnu.org> | 2010-05-05T20·46+0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2010-05-05T20·46+0000 |
commit | 4750065ada362bd46e85879975a3148e18df5b0c (patch) | |
tree | 1f7af931c3a19d7ea5d0958d9984e44c95e452c1 | |
parent | 4bab25a28d32f0551ac20b8b9b33e79af5decf0a (diff) |
buildenv: Special-case Python's `site.py' and `site.pyc'.
* corepkgs/buildenv/builder.pl.in (createLinks): Skip `site.py' and `site.pyc' files.
-rwxr-xr-x | corepkgs/buildenv/builder.pl.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/corepkgs/buildenv/builder.pl.in b/corepkgs/buildenv/builder.pl.in index 4101f66a4744..4a52df65e249 100755 --- a/corepkgs/buildenv/builder.pl.in +++ b/corepkgs/buildenv/builder.pl.in @@ -39,6 +39,8 @@ sub createLinks { $srcFile =~ /\/nix-support$/ || $srcFile =~ /\/perllocal.pod$/ || $srcFile =~ /\/easy-install.pth$/ || + $srcFile =~ /\/site.py$/ || + $srcFile =~ /\/site.pyc$/ || $srcFile =~ /\/info\/dir$/ || $srcFile =~ /\/log$/) { |