[oe-commits] Mark Hatle : tcl: Fix the location of the installed headers

git at git.openembedded.org git at git.openembedded.org
Sat Mar 23 18:08:08 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 41c0241a810f0a97ddc98a834e717645e0047958
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=41c0241a810f0a97ddc98a834e717645e0047958

Author: Mark Hatle <mark.hatle at windriver.com>
Date:   Sat Mar 23 11:14:17 2013 -0500

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.

Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-devtools/tcltk/tcl_8.5.13.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/tcltk/tcl_8.5.13.bb b/meta/recipes-devtools/tcltk/tcl_8.5.13.bb
index 01fe36d..be9c61b 100644
--- a/meta/recipes-devtools/tcltk/tcl_8.5.13.bb
+++ b/meta/recipes-devtools/tcltk/tcl_8.5.13.bb
@@ -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
 }
 





More information about the Openembedded-commits mailing list