depot/third_party/nixpkgs/pkgs/development/python-modules/netmap/nmap-path.patch
Default email 634fe97655 Project import generated by Copybara.
GitOrigin-RevId: 09c38c29f2c719cd76ca17a596c2fdac9e186ceb
2021-07-03 00:11:41 -03:00

17 lines
425 B
Diff

diff --git a/nmap/nmap.py b/nmap/nmap.py
index 91c460d..8c5ff0a 100755
--- a/nmap/nmap.py
+++ b/nmap/nmap.py
@@ -77,11 +77,7 @@ class PortScanner(object):
def __init__(
self,
nmap_search_path=(
- "nmap",
- "/usr/bin/nmap",
- "/usr/local/bin/nmap",
- "/sw/bin/nmap",
- "/opt/local/bin/nmap",
+ "@nmap@",
),
):
"""