summaryrefslogtreecommitdiff
path: root/dh
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2013-05-05 13:42:07 -0400
committerJoey Hess <joey@kitenet.net>2013-05-05 13:42:07 -0400
commit3558fc5775fffde187ec439f11743e3a75610056 (patch)
tree7b99ece29e824ab2d39108e09b6b1e21dbefe9ac /dh
parent70a609065b08ab89bdd1eacdc294b6b4fce1d425 (diff)
DH_OPTIONS also disables skipping
Diffstat (limited to 'dh')
-rwxr-xr-xdh3
1 files changed, 2 insertions, 1 deletions
diff --git a/dh b/dh
index df33768..404c7e7 100755
--- a/dh
+++ b/dh
@@ -911,7 +911,8 @@ sub can_skip {
my $command=shift;
my @packages=@_;
- return 0 if $user_specified_options;
+ return 0 if $user_specified_options ||
+ (exists $ENV{DH_OPTIONS} && length $ENV{DH_OPTIONS});
if (! defined $skipinfo{$command}) {
$skipinfo{$command}=[extract_skipinfo($command)];