We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a786e53 commit 657f7e2Copy full SHA for 657f7e2
src/main/java/dev/nokee/init/internal/wrapper/GradleWrapperScript.java
@@ -53,7 +53,7 @@ private static List<String> bashScriptPath(String pathToInitScript) {
53
private static List<String> batchScriptPath(String pathToInitScript) {
54
return Arrays.asList(
55
"set NOKEE_INIT_SCRIPT_FILE=%APP_HOME%\\" + separatorsToWindows(pathToInitScript),
56
- "if exist NOKEE_INIT_SCRIPT_FILE set NOKEE_ARGS=--init-script \"%NOKEE_INIT_SCRIPT_FILE%\"",
+ "if exist \"%NOKEE_INIT_SCRIPT_FILE%\" set NOKEE_ARGS=--init-script \"%NOKEE_INIT_SCRIPT_FILE%\"",
57
"");
58
}
59
0 commit comments