Skip to contentSkip to conversation

tcl: Fix the location of the installed headers

PATCH New Mark Hatle 1 participant 1 message Mar 23, 2013

lore
Share & tools
lore

Mark Hatle

author
#0 lore raw

PATCH 1/1 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.

---
 meta/recipes-devtools/tcltk/tcl_8.5.13.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/tcltk/tcl_8.5.13.bb +2 -2
index 01fe36d..be9c61b 100644
@@ -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
 }
 
Signature · 1 line
1.8.1.2.545.g2f19ada