]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
buildpackages: ensure clone to a ceph directory
authorLoic Dachary <ldachary@redhat.com>
Mon, 7 Mar 2016 08:29:58 +0000 (15:29 +0700)
committerLoic Dachary <ldachary@redhat.com>
Wed, 16 Mar 2016 13:57:25 +0000 (14:57 +0100)
In case the repository from which the clone is not named ceph.

Signed-off-by: Loic Dachary <loic@dachary.org>
(cherry picked from commit 63c1a6f9ed1a2c60b26b484b36b8f3a6593249aa)

tasks/buildpackages/common.sh

index 6268757ee7025a62698643d726ab8dae39d45c86..98ff95888de4a4ca825f16adcf88dea38942a97a 100644 (file)
@@ -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