tcl: Fix the location of the installed headers

Having '${S}' in the for loop was causing the headers to be installed
into the wrong location.  Move the 'S' to the install line.

(From OE-Core rev: 41c0241a810f0a97ddc98a834e717645e0047958)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Mark Hatle 2013-03-23 11:14:17 -05:00 committed by Richard Purdie
parent e6dad38c65
commit 9f438fc21c
1 changed files with 2 additions and 2 deletions

View File

@ -52,10 +52,10 @@ do_install() {
install -d ${D}${bindir_crossscripts}
install -m 0755 tclConfig.sh ${D}${bindir_crossscripts}
cd ..
for dir in ${S}/../compat ${S}/../generic ${S}/../unix
for dir in compat generic unix
do
install -d ${D}${includedir}/tcl${PV}/$dir
install -m 0644 $dir/*.h ${D}${includedir}/tcl${PV}/$dir/
install -m 0644 ${S}/../$dir/*.h ${D}${includedir}/tcl${PV}/$dir/
done
}