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

This commit is contained in:
Dan Winship 2011-03-01 11:56:10 -05:00
parent af29174cb6
commit 2337373a17

View File

@ -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')