diff options
author | Johannes Schauer <j.schauer@email.de> | 2014-10-10 17:55:54 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2014-10-12 06:08:00 +0200 |
commit | 218d22c82fd2ec6d865fcbc1442873726f9b22d2 (patch) | |
tree | 29d71f57e6a38e8cbee680ed65ba8704010d8fd5 /scripts | |
parent | 51c55641fb6c66e149ea93c344cb788c68978c75 (diff) | |
download | dpkg-218d22c82fd2ec6d865fcbc1442873726f9b22d2.tar.gz |
Dpkg::BuildProfiles: Allow multiple whitespace in get_build_profiles()
This makes the DEB_BUILD_PROFILES environment variable parsing more lax.
Signed-off-by: Guillem Jover <guillem@debian.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Dpkg/BuildProfiles.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Dpkg/BuildProfiles.pm b/scripts/Dpkg/BuildProfiles.pm index 692e61d37..3b38e96c8 100644 --- a/scripts/Dpkg/BuildProfiles.pm +++ b/scripts/Dpkg/BuildProfiles.pm @@ -56,7 +56,7 @@ sub get_build_profiles { return @build_profiles if $cache_profiles; if (Dpkg::BuildEnv::has('DEB_BUILD_PROFILES')) { - @build_profiles = split / /, Dpkg::BuildEnv::get('DEB_BUILD_PROFILES'); + @build_profiles = split /\s+/, Dpkg::BuildEnv::get('DEB_BUILD_PROFILES'); } $cache_profiles = 1; |