diff options
| author | Khem Raj <raj.khem@gmail.com> | 2024-06-14 12:03:22 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-06-18 08:44:41 +0100 |
| commit | 41bc9f693e40411c3706e415582ca44b09fc83dc (patch) | |
| tree | 64982dd7c580aa6a1d0c9206a65df60408eb1b26 | |
| parent | da616e302e66c97e1870fdd19476dacbb88a9380 (diff) | |
| download | poky-41bc9f693e40411c3706e415582ca44b09fc83dc.tar.gz | |
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>
| -rw-r--r-- | meta/recipes-extended/gawk/gawk_5.3.0.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/gawk/gawk_5.3.0.bb b/meta/recipes-extended/gawk/gawk_5.3.0.bb index e94cf19db4..ac9d8500d6 100644 --- a/meta/recipes-extended/gawk/gawk_5.3.0.bb +++ b/meta/recipes-extended/gawk/gawk_5.3.0.bb | |||
| @@ -52,6 +52,8 @@ do_install_ptest() { | |||
| 52 | cp ${S}/test/$i* ${D}${PTEST_PATH}/test | 52 | cp ${S}/test/$i* ${D}${PTEST_PATH}/test |
| 53 | done | 53 | done |
| 54 | sed -i \ | 54 | sed -i \ |
| 55 | -e 's|#! /bin/gawk|#! ${bindir}/gawk|g' \ | ||
| 56 | -e 's|#! /usr/local/bin/gawk|#! ${bindir}/gawk|g' \ | ||
| 55 | -e 's|#!${base_bindir}/awk|#!${bindir}/awk|g' ${D}${PTEST_PATH}/test/*.awk | 57 | -e 's|#!${base_bindir}/awk|#!${bindir}/awk|g' ${D}${PTEST_PATH}/test/*.awk |
| 56 | 58 | ||
| 57 | sed -i -e "s|GAWKLOCALE|LANG|g" ${D}${PTEST_PATH}/test/Maketests | 59 | sed -i -e "s|GAWKLOCALE|LANG|g" ${D}${PTEST_PATH}/test/Maketests |
