git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #66538 from singron/config-whitespace

kernel generate-config.pl: Allow whitespace in values

commit4f835fb2de4145a9433007f6521ba2fdc1a38013 authorJörg Thalheim <Mic92@users.noreply.github.com> dateWed 14 Aug 2019, 07:21 (7 years ago) parent8fa1bb892cc949
1 file changed+1−1
pkgs/os-specific/linux/kernel/generate-config.pl+1−1
pkgs/os-specific/linux/kernel/generate-config.pl+1−1
@@ -28,7 +28,7 @@ open ANSWERS, "<$ENV{KERNEL_CONFIG}" or die "Could not open answer file";
2828while (<ANSWERS>) {
2929 chomp;
3030 s/#.*//;
31− if (/^\s*([A-Za-z0-9_]+)(\?)?\s+(\S+)\s*$/) {
31+ if (/^\s*([A-Za-z0-9_]+)(\?)?\s+(.*\S)\s*$/) {
3232 $answers{$1} = $3;
3333 $requiredAnswers{$1} = !(defined $2);
3434 } elsif (!/^\s*$/) {