mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 13:11:28 +00:00
Delay the expansion to avoid syntax issues. Closes #3177
This commit is contained in:
@@ -12,7 +12,7 @@ rem (excluding extension).
|
|||||||
set PROG=%~dpn0.py
|
set PROG=%~dpn0.py
|
||||||
|
|
||||||
if not exist "%PROG%" (
|
if not exist "%PROG%" (
|
||||||
echo Cannot run %PROG%
|
echo Cannot run !PROG!
|
||||||
echo because that file does not exist.
|
echo because that file does not exist.
|
||||||
exit /B 1
|
exit /B 1
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user