diff options
author | Zang Ruochen <zangrc.fnst@cn.fujitsu.com> | 2019-06-10 15:24:22 +0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-06-10 07:35:27 -0700 |
commit | b1e379ee5c1cc0affcf81ba2254eea3d49c7a0ac (patch) | |
tree | d5a41060fd09ef72fa5c0cd4af7b25f374cbf014 | |
parent | 376d34368e92e57e88d441980f1c8f63390e7f71 (diff) | |
download | meta-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.inc | 7 |
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 | ||
13 | inherit ptest | 13 | inherit ptest |
14 | 14 | ||
15 | do_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 | |||
22 | do_install_ptest() { | 15 | do_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 |