summaryrefslogtreecommitdiff
path: root/src/tracker/tracker-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tracker/tracker-main.c')
-rw-r--r--src/tracker/tracker-main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tracker/tracker-main.c b/src/tracker/tracker-main.c
index 54930e216..7120fd79a 100644
--- a/src/tracker/tracker-main.c
+++ b/src/tracker/tracker-main.c
@@ -170,7 +170,7 @@ print_usage_list_cmds (void)
subcommands_dir = g_getenv ("TRACKER_CLI_SUBCOMMANDS_DIR");
if (!subcommands_dir) {
- subcommands_dir = LIBEXECDIR "/tracker/";
+ subcommands_dir = SUBCOMMANDSDIR;
}
for (i = 0; i < G_N_ELEMENTS(commands); i++) {
@@ -248,12 +248,12 @@ main (int argc, char *argv[])
textdomain (GETTEXT_PACKAGE);
command_basename = g_path_get_basename (argv[0]);
- basename_is_bin = g_strcmp0 (command_basename, "tracker") == 0;
+ basename_is_bin = g_strcmp0 (command_basename, COMMANDNAME) == 0;
g_free (command_basename);
subcommands_dir = g_getenv ("TRACKER_CLI_SUBCOMMANDS_DIR");
if (!subcommands_dir) {
- subcommands_dir = LIBEXECDIR "/tracker/";
+ subcommands_dir = SUBCOMMANDSDIR;
}
if (g_path_is_absolute (argv[0]) &&