summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 6ddc2956036..0a5d490aee4 100644
--- a/eclass/git-2.eclass
+++ b/eclass/git-2.eclass
@@ -484,7 +484,7 @@ git-2_migrate_repository() {
# set various options to work with both options
if [[ ${target} == bare ]]; then
EGIT_OPTIONS+=" --bare"
- MOVE_COMMAND="git clone -l -s -n ${EGIT_DIR}"
+ MOVE_COMMAND="git clone -l -s -n ${EGIT_DIR// /\\ }"
EGIT_UPDATE_CMD="git fetch -f -u origin ${EGIT_BRANCH}:${EGIT_BRANCH}"
UPSTREAM_BRANCH="${EGIT_BRANCH}"
else