Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsugar-jhbuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/sugar-jhbuild b/sugar-jhbuild
index ab7b2cb..e0385ba 100755
--- a/sugar-jhbuild
+++ b/sugar-jhbuild
@@ -1,5 +1,6 @@
#!/usr/bin/env python
+import __builtin__
import os
import sys
import subprocess
@@ -12,6 +13,10 @@ sys.path.append(sjhbuild_dir)
jhbuild_dir = os.path.join(base_dir, 'jhbuild')
sys.path.append(jhbuild_dir)
+__builtin__.__dict__['PKGDATADIR'] = None
+__builtin__.__dict__['DATADIR'] = None
+__builtin__.__dict__['SRCDIR'] = jhbuild_dir
+
args = sys.argv[1:]
if os.path.exists(jhbuild_dir):