diff options
author | Raphaël Hertzog <hertzog@debian.org> | 2010-06-10 20:28:16 +0200 |
---|---|---|
committer | Raphaël Hertzog <hertzog@debian.org> | 2010-06-10 20:46:37 +0200 |
commit | f86ff41434db0a663179cce1703dd1bc2269d094 (patch) | |
tree | caba7b96f1abec2325908bd21165787ac7976859 /scripts/dpkg-source.pl | |
parent | 9eac8e3c4360c2f57f86336e2ec947e39d760ac1 (diff) | |
download | dpkg-f86ff41434db0a663179cce1703dd1bc2269d094.tar.gz |
dpkg-source: new option --abort-on-upstream-changes
This option can be used with source formats 1.0, 2.0 and 3.0 (quilt). It
aborts every time that you try to build a source package which
contains (unmanaged) changes to the upstream source code.
Diffstat (limited to 'scripts/dpkg-source.pl')
-rwxr-xr-x | scripts/dpkg-source.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dpkg-source.pl b/scripts/dpkg-source.pl index 04bb4a755..4ae0c410c 100755 --- a/scripts/dpkg-source.pl +++ b/scripts/dpkg-source.pl @@ -110,7 +110,7 @@ if (defined($options{'opmode'}) && # --unapply-patches is only allowed in local-options as it's a matter # of personal taste and the default should be to keep patches applied my $forbidden_opts_re = { - "options" => qr/^--(?:format=|unapply-patches$)/, + "options" => qr/^--(?:format=|unapply-patches$|abort-on-upstream-changes$)/, "local-options" => qr/^--format=/, }; foreach my $filename ("local-options", "options") { |