From: Loic Dachary Date: Mon, 7 Mar 2016 08:29:58 +0000 (+0700) Subject: buildpackages: ensure clone to a ceph directory X-Git-Tag: v10.2.6~165^2^2~162^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=63c1a6f9ed1a2c60b26b484b36b8f3a6593249aa;p=ceph.git buildpackages: ensure clone to a ceph directory In case the repository from which the clone is not named ceph. Signed-off-by: Loic Dachary --- diff --git a/tasks/buildpackages/common.sh b/tasks/buildpackages/common.sh index 6268757ee70..98ff95888de 100644 --- a/tasks/buildpackages/common.sh +++ b/tasks/buildpackages/common.sh @@ -31,7 +31,7 @@ function get_ceph() { local git_ceph_url=$1 local sha1=$2 - test -d ceph || git clone ${git_ceph_url} + test -d ceph || git clone ${git_ceph_url} ceph cd ceph if test -d src ; then # so we don't try to fetch when using a fixture git fetch --tags http://github.com/ceph/ceph