summaryrefslogtreecommitdiff
path: root/eclass/git-2.eclass
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-04-17 11:00:18 +0200
committerTomas Chvatal <scarabeus@gentoo.org>2011-04-17 11:00:18 +0200
commitb68254443af69a07bc917d7cc4bcaf88f9ef61dc (patch)
treec20c2371d3ccc05e777e6fb29b456b688b7d80b4 /eclass/git-2.eclass
parent0875037764a5ffc5c5e95a4e7e40a00597a0e2f2 (diff)
downloadkde-b68254443af69a07bc917d7cc4bcaf88f9ef61dc.tar.gz
kde-b68254443af69a07bc917d7cc4bcaf88f9ef61dc.tar.bz2
kde-b68254443af69a07bc917d7cc4bcaf88f9ef61dc.zip
[git-2] Be space safe (at least i hope).
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 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