[epiphany] Always run profile migrator from source root in developer mode



commit 4d78f0db2c3a29c0c6a088df3c60fe515434b9dc
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Sun Mar 25 15:52:05 2018 -0500

    Always run profile migrator from source root in developer mode

 lib/ephy-profile-utils.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/lib/ephy-profile-utils.c b/lib/ephy-profile-utils.c
index 910dc7e..4dc11b5 100644
--- a/lib/ephy-profile-utils.c
+++ b/lib/ephy-profile-utils.c
@@ -135,8 +135,12 @@ ephy_profile_utils_do_migration (const char *profile_directory, int test_to_run,
 
   argv[i++] = NULL;
 
+#if DEVELOPER_MODE
+  argv[0] = BUILD_ROOT "/src/" EPHY_PROFILE_MIGRATOR;
+#else
   if (debug)
     argv[0] = BUILD_ROOT "/src/" EPHY_PROFILE_MIGRATOR;
+#endif
 
   ret = g_spawn_sync (NULL, (char **)argv, envp, G_SPAWN_SEARCH_PATH,
                       NULL, NULL, NULL, NULL,


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