diff options
author | Guillem Jover <guillem@debian.org> | 2018-07-23 13:13:19 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2018-07-24 14:51:52 +0200 |
commit | 5cd52673aabdf5eaa58181972119a41041fc85f2 (patch) | |
tree | f39978334677e129f27d9d4c0c02f0a9cacf5a78 /scripts/dpkg-buildpackage.pl | |
parent | 3525d759e6279de35f14bb6492ad0c7c5676f8c2 (diff) | |
download | dpkg-5cd52673aabdf5eaa58181972119a41041fc85f2.tar.gz |
dpkg-buildpackage: Fix --rules-file option parsing
Parse --rules-file instead of --rules-target, which made it a no-op.
Fixes: commit 293bd243a19149165fc4fd8830b16a51d471a5e9
Stable-Candidate: 1.18.x
Diffstat (limited to 'scripts/dpkg-buildpackage.pl')
-rwxr-xr-x | scripts/dpkg-buildpackage.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dpkg-buildpackage.pl b/scripts/dpkg-buildpackage.pl index ee41555d7..ea2c61a47 100755 --- a/scripts/dpkg-buildpackage.pl +++ b/scripts/dpkg-buildpackage.pl @@ -346,7 +346,7 @@ while (@ARGV) { } elsif (m/^-[EW]$/) { # Deprecated option warning(g_('-E and -W are deprecated, they are without effect')); - } elsif (/^-R(.*)$/ or /^--rules-target=(.*)$/) { + } elsif (/^-R(.*)$/ or /^--rules-file=(.*)$/) { my $arg = $1; @debian_rules = split ' ', $arg; } else { |