dev-manual/new-recipe.rst: update code snippet from sed recipe
PATCH 1/1 dev-manual/new-recipe.rst: update code snippet from sed recipe
Update the snippet from OE-Core's sed recipe; might as well keep up to date.
Signed-off-by Robert P. J. Day <[email protected]>
---
documentation/dev-manual/new-recipe.rst +4 -2
@@ -1461,8 +1461,10 @@ chapter of the BitBake User Manual. do_install () { autotools_do_install install -d ${D}${base_bindir} - mv ${D}${bindir}/sed ${D}${base_bindir}/sed - rmdir ${D}${bindir}/ + if [ ! ${D}${bindir} -ef ${D}${base_bindir} ]; then + mv ${D}${bindir}/sed ${D}${base_bindir}/sed + rmdir ${D}${bindir}/ + fi } It is
Antonin Godard
AppliedQuoted 4 lines · Robert P. J. Day
Update the snippet from OE-Core's sed recipe; might as well keep up to date.
Applied, thanks!
[1/1] dev-manual/new-recipe.rst: update code snippet from sed recipe
commit: 5fd18b4c49a297b429c14daca4038b6ad438037b
Best regards,