gawk: Remove References to /usr/local/bin/gawk
PATCH 1/1 gawk: Remove References to /usr/local/bin/gawk
Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk
This fixes issues such as
https://github.com/riscv/meta-riscv/issues/384
Signed-off-by Khem Raj <[email protected]>
--- meta/recipes-extended/gawk/gawk_5.3.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-extended/gawk/gawk_5.3.0.bb +2 -0
@@ -52,6 +52,8 @@ do_install_ptest() { cp ${S}/test/$i* ${D}${PTEST_PATH}/test done sed -i \ + -e 's|#! /bin/gawk|#! ${bindir}/gawk|g' \ + -e 's|#! /usr/local/bin/gawk|#! ${bindir}/gawk|g' \ -e 's|#!${base_bindir}/awk|#!${bindir}/awk|g' ${D}${PTEST_PATH}/test/*.awk sed -i -e "s|GAWKLOCALE|LANG|g" ${D}${PTEST_PATH}/test/Maketests