diff options
author | Niels Thykier <niels@thykier.net> | 2017-12-30 18:18:39 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2017-12-30 18:18:39 +0000 |
commit | 8c69e49565f6de23d1e5d254097a83789001cbde (patch) | |
tree | 0a38a0adeda796abcc20bc324c6b4e78fde82754 /dh_missing | |
parent | 3cb2e268bcc90616db00e983628bd18032e87576 (diff) | |
download | debhelper-8c69e49565f6de23d1e5d254097a83789001cbde.tar.gz |
dh_missing: Make --list-missing the default in c12
Closes: nthykier/debhelper#2
Closes: Debian#650129
Closes: Debian#858834
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_missing')
-rwxr-xr-x | dh_missing | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -60,6 +60,8 @@ Warn on stderr about source files not installed to somewhere. Note that files that are excluded from being moved via the B<-X> option are not warned about. +This is the default in compat 12 and later. + =item B<--fail-missing> This option is like B<--list-missing>, except if a file was missed, it will @@ -80,6 +82,9 @@ my (@installed, %helpers); my $srcdir = '.'; $srcdir = $dh{SOURCEDIR} if defined $dh{SOURCEDIR}; +# --list-missing is the default in compat 12+ +$dh{LIST_MISSING} = 1 if !$dh{FAIL_MISSING} && !compat(11); + if (!$dh{LIST_MISSING} && !$dh{FAIL_MISSING}) { exit 0; } |