mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 17:12:55 +00:00
Use "grep -E" instead of the deprecated "egrep".
/trunk/scripts/build/debug/200-duma.sh | 2 1 1 0 +- /trunk/scripts/build/libc/uClibc.sh | 2 1 1 0 +- /trunk/scripts/crosstool-NG.sh.in | 4 2 2 0 ++-- 3 files changed, 4 insertions(+), 4 deletions(-)
This commit is contained in:
parent
a4d865512c
commit
e1063055a2
@ -28,7 +28,7 @@ do_debug_duma_build() {
|
||||
|
||||
# The shared library needs some love: some version have libduma.so.0.0,
|
||||
# while others have libduma.so.0.0.0
|
||||
duma_so=$(make -n -p 2>&1 |egrep '^libduma.so[^:]*:' |head -n 1 |cut -d : -f 1)
|
||||
duma_so=$(make -n -p 2>&1 |grep -E '^libduma.so[^:]*:' |head -n 1 |cut -d : -f 1)
|
||||
|
||||
libs=
|
||||
[ "${CT_DUMA_A}" = "y" ] && libs="${libs} libduma.a"
|
||||
|
@ -41,7 +41,7 @@ do_libc_check_config() {
|
||||
|
||||
CT_TestOrAbort "You did not provide a uClibc config file!" -n "${CT_LIBC_UCLIBC_CONFIG_FILE}" -a -f "${CT_LIBC_UCLIBC_CONFIG_FILE}"
|
||||
|
||||
if egrep '^KERNEL_SOURCE=' "${CT_LIBC_UCLIBC_CONFIG_FILE}" >/dev/null 2>&1; then
|
||||
if grep -E '^KERNEL_SOURCE=' "${CT_LIBC_UCLIBC_CONFIG_FILE}" >/dev/null 2>&1; then
|
||||
CT_DoLog WARN "Your uClibc version refers to the kernel _sources_, which is bad."
|
||||
CT_DoLog WARN "I can't guarantee that our little hack will work. Please try to upgrade."
|
||||
fi
|
||||
|
@ -58,7 +58,7 @@ CT_DoLog INFO "Build started ${CT_STAR_DATE_HUMAN}"
|
||||
CT_DoExecLog DEBUG renice ${CT_NICE} $$
|
||||
|
||||
CT_DoStep DEBUG "Dumping user-supplied crosstool-NG configuration"
|
||||
CT_DoExecLog DEBUG egrep '^(# |)CT_' .config
|
||||
CT_DoExecLog DEBUG grep -E '^(# |)CT_' .config
|
||||
CT_EndStep
|
||||
|
||||
# Some sanity checks in the environment and needed tools
|
||||
@ -419,7 +419,7 @@ if [ -z "${CT_RESTART}" ]; then
|
||||
CT_DoLog EXTRA " build = ${CT_REAL_BUILD}"
|
||||
CT_DoLog EXTRA " host = ${CT_REAL_HOST}"
|
||||
CT_DoLog EXTRA " target = ${CT_TARGET}"
|
||||
set |egrep '^CT_.+=' |sort |CT_DoLog DEBUG
|
||||
set |grep -E '^CT_.+=' |sort |CT_DoLog DEBUG
|
||||
CT_EndStep
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user