buildpackages: also pull tags from the user ceph fork

Signed-off-by: Loic Dachary <loic@dachary.org>
This commit is contained in:
Loic Dachary 2016-03-04 11:48:36 +07:00
parent ddd5f7c329
commit 5e145c1a2f

View File

@ -33,7 +33,10 @@ function get_ceph() {
test -d ceph || git clone ${git_ceph_url} test -d ceph || git clone ${git_ceph_url}
cd ceph cd ceph
git fetch --tags http://github.com/ceph/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
fi
git fetch --tags ${git_ceph_url}
git checkout ${sha1} git checkout ${sha1}
} }