[glick2] Correct the default executable path for the "data" subdir



commit 2693f5a8a17596391a5150f8acf78ec838db319d
Author: Alexander Larsson <alexl redhat com>
Date:   Tue Nov 29 16:22:16 2011 +0100

    Correct the default executable path for the "data" subdir

 runner.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/runner.c b/runner.c
index dee3dee..20c6abc 100644
--- a/runner.c
+++ b/runner.c
@@ -495,7 +495,7 @@ main (int argc, char *argv[])
       if (*custom_executable == '/')
 	exec = custom_executable;
       else
-	exec = g_build_filename (glick_subdir, custom_executable, NULL);
+	exec = g_build_filename (glick_subdir, "data", custom_executable, NULL);
     }
   else if (default_executable)
     {
@@ -503,7 +503,7 @@ main (int argc, char *argv[])
 	exec = default_executable;
       else
 	{
-	  exec = g_build_filename (glick_subdir, default_executable, NULL);
+	  exec = g_build_filename (glick_subdir,  "data", default_executable, NULL);
 	  argv0 = bundle_path;
 	}
     }



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