summaryrefslogtreecommitdiff
path: root/scripts/dpkg-source.pl
diff options
context:
space:
mode:
authorRaphaël Hertzog <hertzog@debian.org>2010-06-10 20:28:16 +0200
committerRaphaël Hertzog <hertzog@debian.org>2010-06-10 20:46:37 +0200
commitf86ff41434db0a663179cce1703dd1bc2269d094 (patch)
treecaba7b96f1abec2325908bd21165787ac7976859 /scripts/dpkg-source.pl
parent9eac8e3c4360c2f57f86336e2ec947e39d760ac1 (diff)
downloaddpkg-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-xscripts/dpkg-source.pl2
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") {