aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2010-05-05 20:46:41 +0000
committerLudovic Courtès <ludo@gnu.org>2010-05-05 20:46:41 +0000
commit4750065ada362bd46e85879975a3148e18df5b0c (patch)
tree1f7af931c3a19d7ea5d0958d9984e44c95e452c1
parent4bab25a28d32f0551ac20b8b9b33e79af5decf0a (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-xcorepkgs/buildenv/builder.pl.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/corepkgs/buildenv/builder.pl.in b/corepkgs/buildenv/builder.pl.in
index 4101f66a4..4a52df65e 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$/)
{