diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-03-08 17:09:39 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-03-08 17:09:39 (GMT) |
commit | e1063055a2531bbe142c228034d8c1853c3703a6 (patch) | |
tree | 6c10059b8f10969ff8734fbe395f2d903a7e7274 /scripts/build | |
parent | a4d865512ce53e4278291a6726fa2baedc60591e (diff) |
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(-)
Diffstat (limited to 'scripts/build')
-rw-r--r-- | scripts/build/debug/200-duma.sh | 2 | ||||
-rw-r--r-- | scripts/build/libc/uClibc.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/debug/200-duma.sh b/scripts/build/debug/200-duma.sh index 2220a55..29bdec6 100644 --- a/scripts/build/debug/200-duma.sh +++ b/scripts/build/debug/200-duma.sh @@ -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" diff --git a/scripts/build/libc/uClibc.sh b/scripts/build/libc/uClibc.sh index 4598cb7..fcd06bd 100644 --- a/scripts/build/libc/uClibc.sh +++ b/scripts/build/libc/uClibc.sh @@ -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 |