scripts/build/libc_uClibc.sh
changeset 523 010f6f4e4dd6
parent 500 a8b11d75e253
child 578 8e39bc2e91b6
     1.1 --- a/scripts/build/libc_uClibc.sh	Wed May 14 17:52:53 2008 +0000
     1.2 +++ b/scripts/build/libc_uClibc.sh	Tue May 20 21:32:39 2008 +0000
     1.3 @@ -218,8 +218,8 @@
     1.4      # From http://www.uclibc.org/cgi-bin/viewcvs.cgi?rev=16846&view=rev
     1.5      #  " we just want the kernel headers, not the whole kernel source ...
     1.6      #  " so people may need to update their paths slightly
     1.7 -    quoted_kernel_source=`echo "${CT_HEADERS_DIR}" | sed -r -e 's,/include/?$,,; s,/,\\\\/,g;'`
     1.8 -    quoted_headers_dir=`echo ${CT_HEADERS_DIR} | sed -r -e 's,/,\\\\/,g;'`
     1.9 +    quoted_kernel_source=$(echo "${CT_HEADERS_DIR}" | sed -r -e 's,/include/?$,,; s,/,\\/,g;')
    1.10 +    quoted_headers_dir=$(echo "${CT_HEADERS_DIR}" | sed -r -e 's,/,\\/,g;')
    1.11      # CROSS_COMPILER_PREFIX is left as is, as the CROSS parameter is forced on the command line
    1.12      # DEVEL_PREFIX is left as '/usr/' because it is post-pended to $PREFIX, wich is the correct value of ${PREFIX}/${TARGET}
    1.13      # Some (old) versions of uClibc use KERNEL_SOURCE (which is _wrong_), and