diff options
| -rw-r--r-- | meta-oe/recipes-security/nmap/nmap_7.80.bb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta-oe/recipes-security/nmap/nmap_7.80.bb b/meta-oe/recipes-security/nmap/nmap_7.80.bb index c76d2324e7..17bc40911d 100644 --- a/meta-oe/recipes-security/nmap/nmap_7.80.bb +++ b/meta-oe/recipes-security/nmap/nmap_7.80.bb | |||
| @@ -50,9 +50,11 @@ do_configure() { | |||
| 50 | } | 50 | } |
| 51 | 51 | ||
| 52 | do_install_append() { | 52 | do_install_append() { |
| 53 | if [ -f "${D}${bindir}/ndiff" ]; then | 53 | for f in ndiff uninstall_ndiff; do |
| 54 | sed -i 's@^#!.*$@#!/usr/bin/env python3@g' ${D}${bindir}/ndiff | 54 | if [ -f ${D}${bindir}/$f ]; then |
| 55 | fi | 55 | sed -i 's@^#!.*$@#!/usr/bin/env python3@g' ${D}${bindir}/$f |
| 56 | fi | ||
| 57 | done | ||
| 56 | } | 58 | } |
| 57 | 59 | ||
| 58 | FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR} ${datadir}/ncat" | 60 | FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR} ${datadir}/ncat" |
