summaryrefslogtreecommitdiff
path: root/Debian/Debhelper/Dh_Lib.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-12-09 13:53:45 -0400
committerJoey Hess <joey@kitenet.net>2011-12-09 13:53:45 -0400
commit77b80367ad0cfdbb3d78242fda3127559e2df576 (patch)
tree26c2ee273f2a52d49f2471fca35825fb582b8f66 /Debian/Debhelper/Dh_Lib.pm
parent7f60d2959323bdd6010ec2225a332a4823b8e212 (diff)
Only enable executable config files in v9. The quality of file permissions in debian/ directories turns out to be atrocious; who knew?
Diffstat (limited to 'Debian/Debhelper/Dh_Lib.pm')
-rw-r--r--Debian/Debhelper/Dh_Lib.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm
index a86688a..3940c05 100644
--- a/Debian/Debhelper/Dh_Lib.pm
+++ b/Debian/Debhelper/Dh_Lib.pm
@@ -613,7 +613,8 @@ sub filedoublearray {
my $file=shift;
my $globdir=shift;
- my $x=-x $file;
+ # executable confi files are a v9 thing.
+ my $x=! compat(8) && -x $file;
if ($x) {
require Cwd;
my $cmd=Cwd::abs_path($file);