diff options
author | Li Wang <li.wang@windriver.com> | 2018-05-25 10:48:13 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-29 21:07:17 +0100 |
commit | a7cfa2ee05fe12e6180b34aa0fdcdaa09153e126 (patch) | |
tree | 62aa7358ede1fb4287169cfe4ac8ebdb452a65bc | |
parent | ed706179dec101441fef5af5114d00fa0655cc70 (diff) | |
download | poky-a7cfa2ee05fe12e6180b34aa0fdcdaa09153e126.tar.gz |
gawk: fix command location in ptest script
* Correct the command location in ptest scripts such as
update the line "#!/bin/awk -f" to "#!/usr/bin/awk -f" in the
file /usr/lib64/gawk/ptest/test/fcall_exit2.awk belongs
to package gawk-ptest and the line "#!/usr/local/bin/gawk -f"
to "#!/usr/bin/gawk -f" in the file
/usr/lib64/gawk/ptest/test/fnarydel.awk
(From OE-Core rev: 66aa9f1424202a583acd168182ae13ea68e2ab15)
Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/gawk/gawk_4.2.1.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/gawk/gawk_4.2.1.bb b/meta/recipes-extended/gawk/gawk_4.2.1.bb index 6b9935767b..9663752394 100644 --- a/meta/recipes-extended/gawk/gawk_4.2.1.bb +++ b/meta/recipes-extended/gawk/gawk_4.2.1.bb | |||
@@ -43,6 +43,8 @@ do_install_ptest() { | |||
43 | for i in `grep -vE "@|^$|#|Gt-dummy" ${S}/test/Maketests |awk -F: '{print $1}'` Maketests inclib.awk; \ | 43 | for i in `grep -vE "@|^$|#|Gt-dummy" ${S}/test/Maketests |awk -F: '{print $1}'` Maketests inclib.awk; \ |
44 | do cp ${S}/test/$i* ${D}${PTEST_PATH}/test; \ | 44 | do cp ${S}/test/$i* ${D}${PTEST_PATH}/test; \ |
45 | done | 45 | done |
46 | sed -i -e 's|/usr/local/bin|${bindir}|g' \ | ||
47 | -e 's|#!${base_bindir}/awk|#!${bindir}/awk|g' ${D}${PTEST_PATH}/test/*.awk | ||
46 | } | 48 | } |
47 | 49 | ||
48 | BBCLASSEXTEND = "native nativesdk" | 50 | BBCLASSEXTEND = "native nativesdk" |