mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
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
(From OE-Core rev: 9f58ad97f6587322b716de1c9dc409bb4e1376f0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -52,6 +52,8 @@ do_install_ptest() {
|
|||||||
cp ${S}/test/$i* ${D}${PTEST_PATH}/test
|
cp ${S}/test/$i* ${D}${PTEST_PATH}/test
|
||||||
done
|
done
|
||||||
sed -i \
|
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
|
-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
|
sed -i -e "s|GAWKLOCALE|LANG|g" ${D}${PTEST_PATH}/test/Maketests
|
||||||
|
|||||||
Reference in New Issue
Block a user