mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-01-08 21:47:59 -05:00
Fix: handle whitespace paths for Windows launchers
This commit is contained in:
committed by
Ryan Kurtz
parent
3c1e51d0c0
commit
2296256464
@@ -24,7 +24,7 @@ set "SERVER_DIR=%~dp0"
|
||||
set "SERVER_DIR=%SERVER_DIR:~0,-1%"
|
||||
|
||||
rem Ensure Ghidra path doesn't contain illegal characters
|
||||
if not %SERVER_DIR:!=%==%SERVER_DIR% (
|
||||
if not "%SERVER_DIR:!=%"=="%SERVER_DIR%" (
|
||||
echo Ghidra path cannot contain a "!" character.
|
||||
exit /B 1
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user