From 7230cf304796d1b2bcb46156c4b011831ddd5aae Mon Sep 17 00:00:00 2001 From: =?utf8?q?N=C3=A9meth=20Ott=C3=B3?= Date: Sat, 16 Nov 2019 18:50:33 +0100 Subject: [PATCH] some modifications in kernel-config-helper --- kernel/config_helper/kernel_config_review.sh | 2 +- kernel/config_helper/list_kconfig_elements.sh | 2 +- kernel/config_helper/search_kconfig_1.sh | 2 +- kernel/config_helper/search_kconfig_2_cond.sh | 2 +- kernel/config_helper/search_kconfig_2_cond_inv.sh | 2 +- kernel/config_helper/search_kconfig_3.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/kernel/config_helper/kernel_config_review.sh b/kernel/config_helper/kernel_config_review.sh index 6348504..966043e 100644 --- a/kernel/config_helper/kernel_config_review.sh +++ b/kernel/config_helper/kernel_config_review.sh @@ -141,5 +141,5 @@ done | \ while read line; do FILE=`echo "$line" | cut -d : -f 1` NUM=`echo "$line" | cut -d : -f 2` - bash /bin/_find_file_section.sh -s -z -n -1 -2 "$FILE" "$NUM" "^comment\|^if\|^config\|^endif\|^choice\|^endchoice\|^endmenu\|^menuconfig\|^source\|^#" + sh /bin/_find_file_section.sh -s -z -n -1 -2 "$FILE" "$NUM" "^comment\|^if\|^config\|^endif\|^choice\|^endchoice\|^endmenu\|^menuconfig\|^source\|^#" done diff --git a/kernel/config_helper/list_kconfig_elements.sh b/kernel/config_helper/list_kconfig_elements.sh index 374cc5b..4383a6d 100644 --- a/kernel/config_helper/list_kconfig_elements.sh +++ b/kernel/config_helper/list_kconfig_elements.sh @@ -68,5 +68,5 @@ rework_key_conf_elements | \ while read line; do FILE=`echo "$line" | cut -d : -f 1` NUM=`echo "$line" | cut -d : -f 2` - sh _find_file_section.sh -s -z -n -1 -2 "$FILE" "$NUM" "^comment\|^if\|^config\|^endif\|^choice\|^endchoice\|^endmenu\|^menuconfig\|^source\|^#" + sh /bin/_find_file_section.sh -s -z -n -1 -2 "$FILE" "$NUM" "^comment\|^if\|^config\|^endif\|^choice\|^endchoice\|^endmenu\|^menuconfig\|^source\|^#" done diff --git a/kernel/config_helper/search_kconfig_1.sh b/kernel/config_helper/search_kconfig_1.sh index 080abd6..dc31989 100644 --- a/kernel/config_helper/search_kconfig_1.sh +++ b/kernel/config_helper/search_kconfig_1.sh @@ -1,7 +1,7 @@ #list config symbol parts of "Kconfig"s find -type f -name "Kconfig" | \ while read file; do - sh _find_file_section.sh -z -n -1 -2 "$file" "^config\|^menuconfig" "^comment\|^if\|^config\|^endif\|^choice\|^endchoice\|^endmenu\|^menuconfig\|^source\|^#" + sh /bin/_find_file_section.sh -z -n -1 -2 "$file" "^config\|^menuconfig" "^comment\|^if\|^config\|^endif\|^choice\|^endchoice\|^endmenu\|^menuconfig\|^source\|^#" done #grep_key_conf_elements diff --git a/kernel/config_helper/search_kconfig_2_cond.sh b/kernel/config_helper/search_kconfig_2_cond.sh index 2f572cc..e34c009 100644 --- a/kernel/config_helper/search_kconfig_2_cond.sh +++ b/kernel/config_helper/search_kconfig_2_cond.sh @@ -2,7 +2,7 @@ #check "help" key word find -type f -name "Kconfig" | \ while read file; do - sh _find_file_section.sh -u -z -n -1 -2 "^[[:space:]]\+help$\|^[[:space:]]\+---help---$" "$file" "^config\|^menuconfig" "^comment\|^if\|^config\|^endif\|^choice\|^endchoice\|^endmenu\|^menuconfig\|^source\|^#" + sh /bin/_find_file_section.sh -u -z -n -1 -2 "^[[:space:]]\+help$\|^[[:space:]]\+---help---$" "$file" "^config\|^menuconfig" "^comment\|^if\|^config\|^endif\|^choice\|^endchoice\|^endmenu\|^menuconfig\|^source\|^#" done #grep_key_conf_elements diff --git a/kernel/config_helper/search_kconfig_2_cond_inv.sh b/kernel/config_helper/search_kconfig_2_cond_inv.sh index 440c604..035726f 100644 --- a/kernel/config_helper/search_kconfig_2_cond_inv.sh +++ b/kernel/config_helper/search_kconfig_2_cond_inv.sh @@ -2,7 +2,7 @@ #check "help" key word find -type f -name "Kconfig" | \ while read file; do - sh _find_file_section.sh -o -u -z -n -1 -2 "^[[:space:]]\+help$\|^[[:space:]]\+---help---$" "$file" "^config\|^menuconfig" "^comment\|^if\|^config\|^endif\|^choice\|^endchoice\|^endmenu\|^menuconfig\|^source\|^#" + sh /bin/_find_file_section.sh -o -u -z -n -1 -2 "^[[:space:]]\+help$\|^[[:space:]]\+---help---$" "$file" "^config\|^menuconfig" "^comment\|^if\|^config\|^endif\|^choice\|^endchoice\|^endmenu\|^menuconfig\|^source\|^#" done #grep_key_conf_elements diff --git a/kernel/config_helper/search_kconfig_3.sh b/kernel/config_helper/search_kconfig_3.sh index d7b7d97..ae378fe 100644 --- a/kernel/config_helper/search_kconfig_3.sh +++ b/kernel/config_helper/search_kconfig_3.sh @@ -2,7 +2,7 @@ #"search" for "help" word in file sections find -type f -name "Kconfig" | \ while read file; do - sh _find_file_section.sh -d -u -z -n -1 -2 "^[[:space:]]\+depends\|^[[:space:]]\+select" "^[[:space:]]\+help$\|^[[:space:]]\+---help---$" "$file" "^config\|^menuconfig" "^comment\|^if\|^config\|^endif\|^choice\|^endchoice\|^endmenu\|^menuconfig\|^source\|^#" + sh /bin/_find_file_section.sh -d -u -z -n -1 -2 "^[[:space:]]\+depends\|^[[:space:]]\+select" "^[[:space:]]\+help$\|^[[:space:]]\+---help---$" "$file" "^config\|^menuconfig" "^comment\|^if\|^config\|^endif\|^choice\|^endchoice\|^endmenu\|^menuconfig\|^source\|^#" done #grep_key_conf_elements -- 2.11.4.GIT