gnomeos-run: Only clone runtime and devel refs

This is a lot faster.
This commit is contained in:
Colin Walters 2012-01-20 17:51:26 -05:00
parent dde4da9513
commit 9d645495ba
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ if ! test -d ostree; then
ostree --repo=ostree/repo init
fi
cd ostree
ostree --repo=${OSTREE_REPO} local-clone repo
ostree --repo=${OSTREE_REPO} local-clone repo ${BRANCH_PREFIX}runtime ${BRANCH_PREFIX}devel
for branch in runtime devel; do
rev=$(ostree --repo=repo rev-parse ${BRANCH_PREFIX}${branch});
if ! test -d ${BRANCH_PREFIX}${branch}-${rev}; then