mirror of
https://github.com/nmap/nmap.git
synced 2026-01-08 07:29:03 +00:00
Make sure that all locations are added, not just the last one
This commit is contained in:
@@ -23,7 +23,7 @@ set PATH=%NMAPDIR%\zenmap\bin;%PATH%
|
||||
for /D %%P in ("%ProgramFiles%\Python 3.*",
|
||||
"%ProgramFiles(x86)%\Python 3.*",
|
||||
"%LocalAppData%\Programs\Python\Python3*"
|
||||
) do set PATH=%PATH%;%%~P
|
||||
) do set PATH=!PATH!;%%~P
|
||||
|
||||
for %%P in ( py.exe, python.exe) do (
|
||||
set PYTHON=%%~f$PATH:P
|
||||
|
||||
Reference in New Issue
Block a user