mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-19 16:40:38 -09:00
Fix: handle whitespace paths for Windows launchers
This commit is contained in:
committed by
Ryan Kurtz
parent
3c1e51d0c0
commit
2296256464
@@ -39,7 +39,7 @@ set "SUPPORT_DIR=%~dp0"
|
||||
set "SUPPORT_DIR=%SUPPORT_DIR:~0,-1%"
|
||||
|
||||
:: Ensure Ghidra path doesn't contain illegal characters
|
||||
if not %SUPPORT_DIR:!=%==%SUPPORT_DIR% (
|
||||
if not "%SUPPORT_DIR:!=%"=="%SUPPORT_DIR%" (
|
||||
echo Ghidra path cannot contain a "!" character.
|
||||
set ERRORLEVEL=1
|
||||
goto exit1
|
||||
|
||||
Reference in New Issue
Block a user