mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-12 03:10:13 +00:00
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>
This commit is contained in:
committed by
Armin Kuster
parent
376d34368e
commit
b1e379ee5c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user