diff options
author | Alexandre Oliva <lxoliva@fsfla.org> | 2017-09-09 06:19:24 +0000 |
---|---|---|
committer | Alexandre Oliva <lxoliva@fsfla.org> | 2017-09-09 06:19:24 +0000 |
commit | 64d42a7a58dcfe61eed613ee85019ebf73c475bc (patch) | |
tree | 5b2a5267059d49d942d15e10d4ba6e00abca5c2b /freed-ora/tags/f26/4.12.11-300.fc26.gnu/check_configs.awk | |
parent | 091788a6b88e883f14573f45c7a38fb7f0aa0101 (diff) | |
download | linux-libre-raptor-64d42a7a58dcfe61eed613ee85019ebf73c475bc.tar.gz linux-libre-raptor-64d42a7a58dcfe61eed613ee85019ebf73c475bc.zip |
tag 4.12.11-300.fc26.gnu
Diffstat (limited to 'freed-ora/tags/f26/4.12.11-300.fc26.gnu/check_configs.awk')
-rwxr-xr-x | freed-ora/tags/f26/4.12.11-300.fc26.gnu/check_configs.awk | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/freed-ora/tags/f26/4.12.11-300.fc26.gnu/check_configs.awk b/freed-ora/tags/f26/4.12.11-300.fc26.gnu/check_configs.awk new file mode 100755 index 000000000..16ac08a5e --- /dev/null +++ b/freed-ora/tags/f26/4.12.11-300.fc26.gnu/check_configs.awk @@ -0,0 +1,22 @@ +#!/usr/bin/awk -f + +/is not set/ { + split ($0, a, "#"); + split(a[2], b); + if (NR==FNR) { + configs[b[1]]="is not set"; + } else { + if (configs[b[1]] != "" && configs[b[1]] != "is not set") + print "Found # "b[1] " is not set, after generation, had " b[1] " " configs[b[1]] " in Fedora tree"; + } +} + +/=/ { + split ($0, a, "="); + if (NR==FNR) { + configs[a[1]]=a[2]; + } else { + if (configs[a[1]] != "" && configs[a[1]] != a[2]) + print "Found "a[1]"="configs[a[1]]" after generation, had " a[1]"="a[2]" in Fedora tree"; + } +} |