Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-0: Fixing gradlew.bat spaces issue and making README.md more clear

Ryan Kurtzc4e46817628c
diff --git a/README.md b/README.md
index 45033ec14b..96465b16a5 100644
--- a/README.md
+++ b/README.md
@@ -65,8 +65,10 @@ cd ghidra-master
repository: `git clone https://github.com/NationalSecurityAgency/ghidra.git`
##### Download additional build dependencies into source repository:
-**NOTE:** If an Internet connection is available and you did not install Gradle, the following
-`gradle` commands may be replaced with `./gradlew(.bat)`.
+**NOTE:** If an Internet connection is available and you did not install Gradle, the
+`./gradlew` (or `gradlew.bat`) command may be used in place of the `gradle` command in the following
+instructions.
+
```
gradle -I gradle/support/fetchDependencies.gradle
```
diff --git a/gradlew.bat b/gradlew.bat
index 5ee39252b5..0ec7be38a3 100644
--- a/gradlew.bat
+++ b/gradlew.bat
@@ -85,7 +85,7 @@ if exist "%APP_HOME%\gradle-wrapper.jar" (
)
@rem Read application properties
-for /f "tokens=1,2 delims==" %%g in (%GHIDRA_HOME%Ghidra\application.properties) DO (set %%g=%%h)
+for /f "usebackq tokens=1,2 delims==" %%g in ("%GHIDRA_HOME%Ghidra\application.properties") DO (set %%g=%%h)
@rem Only proceed with wrapper if we are in single-repo PUBLIC/DEV mode
set PROCEED=1