aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addon.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/addon.gradle b/addon.gradle
index 69779c53f1..95eb3194c2 100644
--- a/addon.gradle
+++ b/addon.gradle
@@ -5,7 +5,7 @@ sourceSets.main {
task initAVRcore(type: Exec) {
description = "Updates (and inits) git submodules"
group = "Build Setup"
- commandLine(projectDir.toString() + "/git", "submodule", "update", "--init", "--recursive", "--remote")
+ commandLine("git", "--git-dir=\"" + projectDir.toString() + "/.git\"", "submodule", "update", "--init", "--recursive", "--remote")
}
tasks.setupCIWorkspace.dependsOn initAVRcore