diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2012-11-06 08:02:46 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2012-11-06 08:02:46 +0000 |
commit | 1f3ed5d1469dde5dfb1800a4d9c3e97354f5ba1e (patch) | |
tree | e8e1c372119a142e02122fe92c6c284bc82c0821 /usr.sbin/pkg_add/OpenBSD/PkgAdd.pm | |
parent | 0fedff4fae1bcb3bc991065660371a4f463323bc (diff) |
work-around python compile issue: don't tie python files for now, so
that timestamps don't trigger recompile.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PkgAdd.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PkgAdd.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm index df002f3051e..3a3b2d9b871 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgAdd.pm,v 1.34 2012/04/28 12:00:10 espie Exp $ +# $OpenBSD: PkgAdd.pm,v 1.35 2012/11/06 08:02:45 espie Exp $ # # Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org> # @@ -84,6 +84,8 @@ sub tie_files { my ($self, $sha, $state) = @_; return if $self->{link} or $self->{symlink} or $self->{nochecksum}; + # XXX python doesn't like this, overreliance on timestamps + return if $self->{name} =~ m/\.py$/; if (defined $sha->{$self->{d}->key}) { my $tied = $sha->{$self->{d}->key}; # don't tie if there's a problem with the file |