mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
18 lines
425 B
Diff
18 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@",
|
||
|
),
|
||
|
):
|
||
|
"""
|