[gnome-shell] gnome-shell: fix running-from-source-dir detection



commit 2337373a175a55daa21dae2ac10d5daaab2a2cc0
Author: Dan Winship <danw gnome org>
Date:   Tue Mar 1 11:56:10 2011 -0500

    gnome-shell: fix running-from-source-dir detection

 src/gnome-shell-jhbuild.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-shell-jhbuild.in b/src/gnome-shell-jhbuild.in
index bca0e32..e3c9326 100755
--- a/src/gnome-shell-jhbuild.in
+++ b/src/gnome-shell-jhbuild.in
@@ -144,7 +144,7 @@ def start_dconf_await_service():
 
 def start_shell(perf_output=None):
     bin_dir = os.path.dirname(os.path.abspath(sys.argv[0]))
-    if os.path.exists(os.path.join(bin_dir, 'gnome-shell.in')):
+    if os.path.exists(os.path.join(bin_dir, 'gnome-shell-jhbuild.in')):
         running_from_source_tree = True
         top_dir = os.path.dirname(bin_dir)
         plugin = os.path.join(top_dir, 'src', 'libgnome-shell.la')



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