diff options
author | Guillem Jover <guillem@debian.org> | 2019-03-02 02:41:40 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2019-03-24 03:30:12 +0100 |
commit | 740c330ad0deb5d4894ad43619fc80cfa0cf8313 (patch) | |
tree | 57ebc5281c12673c75434bbc8458cacb1a2c0328 /scripts | |
parent | dcd19c7820e0294245837ee9e8beec9244ea3b2d (diff) | |
download | dpkg-740c330ad0deb5d4894ad43619fc80cfa0cf8313.tar.gz |
Dpkg::Source::Package::V1: Change default build option style to -sa
Using -sA by default means the user might lose data on overwrite if
there is already a directory with the same name laying around.
Closes: #910737
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Dpkg/Source/Package/V1.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Dpkg/Source/Package/V1.pm b/scripts/Dpkg/Source/Package/V1.pm index 38c2498f4..be13750a4 100644 --- a/scripts/Dpkg/Source/Package/V1.pm +++ b/scripts/Dpkg/Source/Package/V1.pm @@ -267,7 +267,7 @@ sub do_build { 'argument (with v1.0 source package)')); } - $sourcestyle =~ y/X/A/; + $sourcestyle =~ y/X/a/; unless ($sourcestyle =~ m/[akpursnAKPUR]/) { usageerr(g_('source handling style -s%s not allowed with -b'), $sourcestyle); |