Fix word-splitting regexp in generate_di_list.
Closes: #758512. Thanks to Philipp Hahn for the patch.
This commit is contained in:
parent
6d623c6b88
commit
2ef5d3288c
|
@ -4,6 +4,8 @@ debian-cd (3.1.16) UNRELEASED; urgency=medium
|
||||||
* Fix changelog date for 3.1.15. Closes: #751814
|
* Fix changelog date for 3.1.15. Closes: #751814
|
||||||
* Fix up Gnome CD set installing xfce - logic in boot menu creation was
|
* Fix up Gnome CD set installing xfce - logic in boot menu creation was
|
||||||
broken. Closes: #756774
|
broken. Closes: #756774
|
||||||
|
* Fix word-splitting regexp in generate_di_list. Closes: #758512. Thanks
|
||||||
|
to Philipp Hahn for the patch.
|
||||||
|
|
||||||
-- Steve McIntyre <93sam@debian.org> Thu, 07 Aug 2014 01:45:01 +0100
|
-- Steve McIntyre <93sam@debian.org> Thu, 07 Aug 2014 01:45:01 +0100
|
||||||
|
|
||||||
|
|
|
@ -12,8 +12,8 @@ exit 0 if $ENV{ARCHES} =~ /^\s*source\s*$/;
|
||||||
|
|
||||||
my @ARCHES;
|
my @ARCHES;
|
||||||
if ( $ENV{ARCHES} ) {
|
if ( $ENV{ARCHES} ) {
|
||||||
push @ARCHES, 'i386' if $ENV{ARCHES} =~ /[^\s]i386[\s\$]/;
|
push @ARCHES, 'i386' if $ENV{ARCHES} =~ /(^|\s)i386(\s|$)/;
|
||||||
push @ARCHES, 'amd64' if $ENV{ARCHES} =~ /[^\s]amd64[\s\$]/;
|
push @ARCHES, 'amd64' if $ENV{ARCHES} =~ /(^|\s)amd64(\s|$)/;
|
||||||
push @ARCHES, grep { !/^(source|i386|amd64)$/ } split /\s+/, $ENV{ARCHES};
|
push @ARCHES, grep { !/^(source|i386|amd64)$/ } split /\s+/, $ENV{ARCHES};
|
||||||
}
|
}
|
||||||
@ARCHES = qw{i386 amd64} unless @ARCHES;
|
@ARCHES = qw{i386 amd64} unless @ARCHES;
|
||||||
|
|
Loading…
Reference in New Issue