summaryrefslogtreecommitdiff
path: root/eclass/git-2.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/git-2.eclass')
-rw-r--r--eclass/git-2.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/git-2.eclass b/eclass/git-2.eclass
index 3927c8b04e1..e508bc4c9ce 100644
--- a/eclass/git-2.eclass
+++ b/eclass/git-2.eclass
@@ -161,7 +161,7 @@ git-2_submodules() {
debug-print "${FUNCNAME}: working in \"${1}\""
pushd "${1}" > /dev/null
- export GIT_DIR=${EGIT_DIR}
+ export GIT_DIR=${1}
debug-print "${FUNCNAME}: git submodule init"
git submodule init || die
debug-print "${FUNCNAME}: git submodule sync"