diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-04-20 21:10:03 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-04-20 21:10:03 +0000 |
commit | 1805f4e62d15259fdef1e363896b810db07b0a46 (patch) | |
tree | 182e163dc9a8c56168f4f8be897dd1643ea03d5b /scripts/build/kernel/linux.sh | |
parent | aaaca05f1e34610ee25618402b6faf9f6102c627 (diff) | |
download | crosstool-ng-1805f4e62d15259fdef1e363896b810db07b0a46.tar.gz crosstool-ng-1805f4e62d15259fdef1e363896b810db07b0a46.tar.bz2 crosstool-ng-1805f4e62d15259fdef1e363896b810db07b0a46.zip |
There's no longer any reason to require GNU awk:
- the only part that required it (socks proxy settings) is gone,
- all remaining awk scripts are POSIXly correct (or should be).
-------- diffstat follows --------
/trunk/configure | 5 2 3 0 ++---
/trunk/Makefile.in | 2 0 2 0 --
/trunk/scripts/build/kernel/linux.sh | 2 1 1 0 +-
/trunk/scripts/build/internals.sh | 1 0 1 0 -
/trunk/scripts/build/mpfr.sh | 2 1 1 0 +-
/trunk/scripts/functions | 4 2 2 0 ++--
/trunk/scripts/saveSample.sh.in | 4 2 2 0 ++--
7 files changed, 8 insertions(+), 12 deletions(-)
Diffstat (limited to 'scripts/build/kernel/linux.sh')
-rw-r--r-- | scripts/build/kernel/linux.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/kernel/linux.sh b/scripts/build/kernel/linux.sh index 7e40facf..fa6a9dde 100644 --- a/scripts/build/kernel/linux.sh +++ b/scripts/build/kernel/linux.sh @@ -47,7 +47,7 @@ do_kernel_install() { # Only starting with 2.6.18 does headers_install is usable. We only # have 2.6 version available, so only test for sublevel. - k_sublevel=$("${awk}" '/^SUBLEVEL =/ { print $3 }' "${CT_SRC_DIR}/linux-${CT_KERNEL_VERSION}/Makefile") + k_sublevel=$(awk '/^SUBLEVEL =/ { print $3 }' "${CT_SRC_DIR}/linux-${CT_KERNEL_VERSION}/Makefile") [ ${k_sublevel} -ge 18 ] || CT_Abort "Kernel version >= 2.6.18 is needed to install kernel headers." V_OPT="V=${CT_KERNEL_LINUX_VERBOSE_LEVEL}" |