use relative path for git submodule
Change-Id: I227a3cdab818f3df594b9b5d4a475120c80972a7
diff --git a/generate-cookiecutter-products.groovy b/generate-cookiecutter-products.groovy
index 5ddea91..5ded53f 100644
--- a/generate-cookiecutter-products.groovy
+++ b/generate-cookiecutter-products.groovy
@@ -52,7 +52,7 @@
sh "git init"
if (SHARED_RECLASS_URL != '') {
- ssh.agentSh "git submodule add ${SHARED_RECLASS_URL} '${modelEnv}/classes/system'"
+ ssh.agentSh "git submodule add \"${SHARED_RECLASS_URL}\" \"classes/system\""
git.commitGitChanges(modelEnv, "Added new shared reclass submodule", "${user}@localhost", "${user}")
}
}