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(-)
1.1 --- a/scripts/build/debug/200-duma.sh Sun Mar 08 11:16:57 2009 +0000
1.2 +++ b/scripts/build/debug/200-duma.sh Sun Mar 08 17:09:39 2009 +0000
1.3 @@ -28,7 +28,7 @@
1.4
1.5 # The shared library needs some love: some version have libduma.so.0.0,
1.6 # while others have libduma.so.0.0.0
1.7 - duma_so=$(make -n -p 2>&1 |egrep '^libduma.so[^:]*:' |head -n 1 |cut -d : -f 1)
1.8 + duma_so=$(make -n -p 2>&1 |grep -E '^libduma.so[^:]*:' |head -n 1 |cut -d : -f 1)
1.9
1.10 libs=
1.11 [ "${CT_DUMA_A}" = "y" ] && libs="${libs} libduma.a"
2.1 --- a/scripts/build/libc/uClibc.sh Sun Mar 08 11:16:57 2009 +0000
2.2 +++ b/scripts/build/libc/uClibc.sh Sun Mar 08 17:09:39 2009 +0000
2.3 @@ -41,7 +41,7 @@
2.4
2.5 CT_TestOrAbort "You did not provide a uClibc config file!" -n "${CT_LIBC_UCLIBC_CONFIG_FILE}" -a -f "${CT_LIBC_UCLIBC_CONFIG_FILE}"
2.6
2.7 - if egrep '^KERNEL_SOURCE=' "${CT_LIBC_UCLIBC_CONFIG_FILE}" >/dev/null 2>&1; then
2.8 + if grep -E '^KERNEL_SOURCE=' "${CT_LIBC_UCLIBC_CONFIG_FILE}" >/dev/null 2>&1; then
2.9 CT_DoLog WARN "Your uClibc version refers to the kernel _sources_, which is bad."
2.10 CT_DoLog WARN "I can't guarantee that our little hack will work. Please try to upgrade."
2.11 fi
3.1 --- a/scripts/crosstool-NG.sh.in Sun Mar 08 11:16:57 2009 +0000
3.2 +++ b/scripts/crosstool-NG.sh.in Sun Mar 08 17:09:39 2009 +0000
3.3 @@ -58,7 +58,7 @@
3.4 CT_DoExecLog DEBUG renice ${CT_NICE} $$
3.5
3.6 CT_DoStep DEBUG "Dumping user-supplied crosstool-NG configuration"
3.7 -CT_DoExecLog DEBUG egrep '^(# |)CT_' .config
3.8 +CT_DoExecLog DEBUG grep -E '^(# |)CT_' .config
3.9 CT_EndStep
3.10
3.11 # Some sanity checks in the environment and needed tools
3.12 @@ -419,7 +419,7 @@
3.13 CT_DoLog EXTRA " build = ${CT_REAL_BUILD}"
3.14 CT_DoLog EXTRA " host = ${CT_REAL_HOST}"
3.15 CT_DoLog EXTRA " target = ${CT_TARGET}"
3.16 - set |egrep '^CT_.+=' |sort |CT_DoLog DEBUG
3.17 + set |grep -E '^CT_.+=' |sort |CT_DoLog DEBUG
3.18 CT_EndStep
3.19 fi
3.20