Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar-jhbuild
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-01-15 20:42:53 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-01-15 20:42:53 (GMT)
commite54758b570de643228400b988b88a8da2579d1cc (patch)
treec8b2d799564dfea517a6080c9d3737d9d6819d9e /sugar-jhbuild
parente615e3ba74218f2b56c46ade06a6f1e8f1010948 (diff)
Add a SUGAR_PREFIX env var
Diffstat (limited to 'sugar-jhbuild')
-rwxr-xr-xsugar-jhbuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/sugar-jhbuild b/sugar-jhbuild
index cfe60e5..cd659ab 100755
--- a/sugar-jhbuild
+++ b/sugar-jhbuild
@@ -74,6 +74,8 @@ jhbuild.config.addpath('GTK_PATH', os.path.join(config.prefix, path))
path = 'etc/gtk-2.0/gtkrc'
jhbuild.config.addpath('GTK2_RC_FILES', os.path.join(config.prefix, path))
+jhbuild.config.addpath('SUGAR_PREFIX', config.prefix)
+
if command == 'run' and len(args) == 0:
jhbuild.commands.run(command, config, ['sugar-emulator'])
else: