svn commit: trunk/uClibc/extra/scripts

aldot at uclibc.org aldot at uclibc.org
Fri Oct 10 13:46:01 UTC 2008


Author: aldot
Date: 2008-10-10 06:46:01 -0700 (Fri, 10 Oct 2008)
New Revision: 23654

Log:
- remove bashism; don't install config/* to the target


Modified:
   trunk/uClibc/extra/scripts/install_headers.sh


Changeset:
Modified: trunk/uClibc/extra/scripts/install_headers.sh
===================================================================
--- trunk/uClibc/extra/scripts/install_headers.sh	2008-10-10 13:14:15 UTC (rev 23653)
+++ trunk/uClibc/extra/scripts/install_headers.sh	2008-10-10 13:46:01 UTC (rev 23654)
@@ -33,12 +33,11 @@
 (
 # We must cd, or else we'll prepend "$1" to filenames!
 cd "$1" || exit 1
-find ! -name '.' -a ! -path '*/.*'
+find ! -name '.' -a ! -path '*/.*' | sed -e 's/^\.\///' -e '/^config\//d'
 ) | \
 (
 IFS=''
 while read -r filename; do
-	filename="${filename#./}"
 	if test -d "$1/$filename"; then
 		mkdir -p "$2/$filename" 2>/dev/null
 	else




More information about the uClibc-cvs mailing list