summaryrefslogtreecommitdiff
path: root/sys-kernel
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2019-09-02 20:31:32 +0200
committerKarel Kočí <cynerd@email.cz>2019-09-02 20:31:32 +0200
commita05e0af361e847751b98af41e0a199346f144048 (patch)
tree0745c932747a4481908ab4dcdbe16eedc1b73ab9 /sys-kernel
parent8c571379ad20a7f08611f7d8c4086c031cf632f3 (diff)
downloadgentoo-personal-overlay-a05e0af361e847751b98af41e0a199346f144048.tar.gz
gentoo-personal-overlay-a05e0af361e847751b98af41e0a199346f144048.tar.bz2
gentoo-personal-overlay-a05e0af361e847751b98af41e0a199346f144048.zip
sys-kernel/linux: revert invalid configure script
Diffstat (limited to 'sys-kernel')
-rwxr-xr-xsys-kernel/linux/files/config_prepare.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-kernel/linux/files/config_prepare.sh b/sys-kernel/linux/files/config_prepare.sh
index 3f21f5c..ede6fc8 100755
--- a/sys-kernel/linux/files/config_prepare.sh
+++ b/sys-kernel/linux/files/config_prepare.sh
@@ -27,9 +27,9 @@ fi
# Apply changes in config
for CNF in $CONFIG; do
- # (grep) Ignore empty lines and comments
- grep -qvE "^[[:space:]]*$|^#" | while read -r L; do
- awk -v
+ while read L; do
+ echo "$L" | grep -qE "^[[:space:]]*$" && continue # ignore empty lines
+ echo "$L" | grep -qE "#.*" && continue # Ignore comments
# Remove lines with changed settings
sed -i "#^$(echo "$L" | grep -oE '^CONFIG_.*=')#d" .config
# Put config