patches/uClibc/0.9.30/210-find-portable.patch
author Zhenqiang Chen <zhenqiang.chen@linaro.org>
Fri Nov 18 15:29:18 2011 +0800 (2011-11-18)
changeset 2778 986e1c75432a
permissions -rw-r--r--
config/toolchain: Add "Enable nls" in "Toolchain options".

Reviewed-by: Michael Hope
Signed-off-by: Zhenqiang Chen <zhenqiang.chen@linaro.org>
titus@2627
     1
--- uClibc-0.9.30.orig/extra/scripts/install_headers.sh	2008-10-10 15:50:38.000000000 +0200
titus@2627
     2
+++ uClibc-0.9.30/extra/scripts/install_headers.sh	2011-08-21 09:49:03.000000000 +0200
titus@2627
     3
@@ -33,7 +33,7 @@
titus@2627
     4
 (
titus@2627
     5
 # We must cd, or else we'll prepend "$1" to filenames!
titus@2627
     6
 cd "$1" || exit 1
titus@2627
     7
-find ! -name '.' -a ! -path '*/.*' | sed -e 's/^\.\///' -e '/^config\//d' \
titus@2627
     8
+find . ! -name '.' -a ! -path '*/.*' | sed -e 's/^\.\///' -e '/^config\//d' \
titus@2627
     9
 	-e '/^config$/d'
titus@2627
    10
 ) | \
titus@2627
    11
 (