summaryrefslogtreecommitdiff
path: root/scripts/dpkg-source.pl
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2017-09-17 12:01:45 +0200
committerGuillem Jover <guillem@debian.org>2017-09-24 21:03:10 +0200
commitff837f376cf97167e65b2b41e2e16103c98a911f (patch)
treee1f89eba8c91279e76760f47fbdf7704869bfc0c /scripts/dpkg-source.pl
parent7c75716f63cce2eabe6430fb573d711d0e519b2d (diff)
downloaddpkg-ff837f376cf97167e65b2b41e2e16103c98a911f.tar.gz
scripts: Use split() with ' ' instead of /\s+/
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 b49be8900..a4316fbb3 100755
--- a/scripts/dpkg-source.pl
+++ b/scripts/dpkg-source.pl
@@ -285,7 +285,7 @@ if ($options{opmode} =~ /^(build|print-format|(before|after)-build|commit)$/) {
my $pkg_summary = sprintf('%s %s %s %s', $p, $type, $sect, $prio);
- $pkg_summary .= ' arch=' . join ',', split /\s+/, $arch;
+ $pkg_summary .= ' arch=' . join ',', split ' ', $arch;
if (defined $profile) {
# If the string does not contain brackets then it is using the