[gnome-build-meta/abderrahim/bst2: 16/21] utils/update-local-repo.sh: adapt to bst2




commit 728904aa0cbf27cf004e46c922268c70d70bbdbe
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Mon Mar 30 20:53:24 2020 +0100

    utils/update-local-repo.sh: adapt to bst2

 utils/update-local-repo.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/utils/update-local-repo.sh b/utils/update-local-repo.sh
index b11e02262..c61a17c35 100755
--- a/utils/update-local-repo.sh
+++ b/utils/update-local-repo.sh
@@ -70,7 +70,7 @@ export OSTREE_REPO=ostree-repo
 
 updated_refs=""
 for element in ${REPO_ELEMENTS}; do
-    ${BST} checkout --hardlinks $element $checkout/$element
+    ${BST} artifact checkout --hardlinks --directory $checkout/$element $element
 
     ref=$(ostree refs --repo $checkout/$element)
     commit=$(ostree --repo=$checkout/$element rev-parse $ref)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]