Skip to contentSkip to conversation

ti-tisdk-makefile: don't use / in sed as KERNEL_DEVICETREE may contain those

PATCH New Denys Dmytriyenko 1 participant 1 message Feb 8, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ti-tisdk-makefile: don't use / in sed as KERNEL_DEVICETREE may contain those

---
 .../recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb +1 -1
index 29e74b0..698f599 100644
@@ -247,7 +247,7 @@ do_install () {
 
     if [ "$?" == "0" ]
     then
-        sed -i -e "s/__KERNEL_DEVICETREE__/${KERNEL_DEVICETREE}/" ${D}/Makefile
+        sed -i -e "s|__KERNEL_DEVICETREE__|${KERNEL_DEVICETREE}|" ${D}/Makefile
         sed -i -e "s/__DTB_DEPEND__/linux-dtbs/" ${D}/Makefile
         sed -i -e "s/__DTB_DEPEND_INSTALL__/linux-dtbs_install/" ${D}/Makefile
     else
Signature · 1 line
2.7.4