From: Mark Hatle Date: Sat, 23 Mar 2013 16:14:17 +0000 (-0500) Subject: tcl: Fix the location of the installed headers X-Git-Tag: 2015-4~7084 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=41c0241a810f0a97ddc98a834e717645e0047958;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/tcltk/tcl_8.5.13.bb b/meta/recipes-devtools/tcltk/tcl_8.5.13.bb index 01fe36dc97..be9c61bf34 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 }