[ostree] ostadmin: Use /ostree for current working directory of checkouts



commit dfbf1f7ac64749dafc1cfe6537b3e8451fabfa80
Author: Colin Walters <walters verbum org>
Date:   Tue May 8 10:21:38 2012 -0400

    ostadmin: Use /ostree for current working directory of checkouts
    
    Otherwise we put them in the wrong place.

 src/ostadmin/ot-admin-builtin-deploy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ostadmin/ot-admin-builtin-deploy.c b/src/ostadmin/ot-admin-builtin-deploy.c
index 43a4c44..4a64c97 100644
--- a/src/ostadmin/ot-admin-builtin-deploy.c
+++ b/src/ostadmin/ot-admin-builtin-deploy.c
@@ -321,7 +321,7 @@ ot_admin_builtin_deploy (int argc, char **argv, GError **error)
                             "checkout", "--atomic-retarget", deploy_target, NULL);
       g_ptr_array_add (checkout_args, NULL);
 
-      if (!ot_spawn_sync_checked (NULL, (char**)checkout_args->pdata, NULL, G_SPAWN_SEARCH_PATH,
+      if (!ot_spawn_sync_checked ("/ostree", (char**)checkout_args->pdata, NULL, G_SPAWN_SEARCH_PATH,
                                   NULL, NULL, NULL, NULL, error))
         goto out;
 



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