summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZang Ruochen <zangrc.fnst@cn.fujitsu.com>2019-06-10 15:24:22 +0800
committerArmin Kuster <akuster808@gmail.com>2019-06-10 07:35:27 -0700
commitb1e379ee5c1cc0affcf81ba2254eea3d49c7a0ac (patch)
treed5a41060fd09ef72fa5c0cd4af7b25f374cbf014
parent376d34368e92e57e88d441980f1c8f63390e7f71 (diff)
downloadmeta-security-b1e379ee5c1cc0affcf81ba2254eea3d49c7a0ac.tar.gz
python-scapy: Remove redundant sed operations
-Remove redundant sed operations. Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--recipes-security/scapy/python-scapy.inc7
1 files changed, 0 insertions, 7 deletions
diff --git a/recipes-security/scapy/python-scapy.inc b/recipes-security/scapy/python-scapy.inc
index 99f30a7..baa69b2 100644
--- a/recipes-security/scapy/python-scapy.inc
+++ b/recipes-security/scapy/python-scapy.inc
@@ -12,13 +12,6 @@ SRC_URI = "git://github.com/secdev/scapy.git"
12 12
13inherit ptest 13inherit ptest
14 14
15do_install_append() {
16 if [ "${PYTHON_PN}" = "python3" ]; then
17 sed -i -e 's/python/python3/' ${D}${bindir}/scapy
18 sed -i -e 's/python/python3/' ${D}${bindir}/UTscapy
19 fi
20}
21
22do_install_ptest() { 15do_install_ptest() {
23 install -m 0644 ${S}/test/regression.uts ${D}${PTEST_PATH} 16 install -m 0644 ${S}/test/regression.uts ${D}${PTEST_PATH}
24 sed -i 's,@PTEST_PATH@,${PTEST_PATH},' ${D}${PTEST_PATH}/run-ptest 17 sed -i 's,@PTEST_PATH@,${PTEST_PATH},' ${D}${PTEST_PATH}/run-ptest