From b1e379ee5c1cc0affcf81ba2254eea3d49c7a0ac Mon Sep 17 00:00:00 2001 From: Zang Ruochen Date: Mon, 10 Jun 2019 15:24:22 +0800 Subject: python-scapy: Remove redundant sed operations -Remove redundant sed operations. Signed-off-by: Zang Ruochen Signed-off-by: Armin Kuster --- recipes-security/scapy/python-scapy.inc | 7 ------- 1 file changed, 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" inherit ptest -do_install_append() { - if [ "${PYTHON_PN}" = "python3" ]; then - sed -i -e 's/python/python3/' ${D}${bindir}/scapy - sed -i -e 's/python/python3/' ${D}${bindir}/UTscapy - fi -} - do_install_ptest() { install -m 0644 ${S}/test/regression.uts ${D}${PTEST_PATH} sed -i 's,@PTEST_PATH@,${PTEST_PATH},' ${D}${PTEST_PATH}/run-ptest -- cgit v1.2.3-54-g00ecf