diff options
author | Sadie Powell <sadie@witchery.services> | 2020-11-08 20:23:27 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-11-08 20:23:27 +0000 |
commit | 2145cc3f947dc84c2ea006917b27cd525ac311b8 (patch) | |
tree | 2b34331c28aa01be2c664df3130f5105ff0e551e /configure | |
parent | 3151d60c1ecc9462e4c335282ee6c31672f45111 (diff) |
Skip extra whitespace in --{enable,disable}-extras.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -111,8 +111,8 @@ exit 1 unless GetOptions( ); if (scalar(@opt_enableextras) + scalar(@opt_disableextras) > 0) { - @opt_enableextras = split /[, ]+/, join(',', @opt_enableextras); - @opt_disableextras = split /[, ]+/, join(',', @opt_disableextras); + @opt_enableextras = grep { /\S/ } split /[, ]+/, join(',', @opt_enableextras); + @opt_disableextras = grep { /\S/ } split /[, ]+/, join(',', @opt_disableextras); enable_extras(@opt_enableextras); disable_extras(@opt_disableextras); list_extras; |