diff options
author | Sascha Silbe <sascha-org-sugar-git@silbe.org> | 2009-05-20 16:38:41 (GMT) |
---|---|---|
committer | Sascha Silbe <sascha-org-sugar-git@silbe.org> | 2009-05-20 16:38:41 (GMT) |
commit | 6f8abafd5a9525e4917dac8c0f2eb6e5336be0bd (patch) | |
tree | a335a82b06b9472334ab806aaf36180e580b3093 | |
parent | 689517088b42031351f5fa4087160b49a655b951 (diff) |
adapt to upstream jhbuild script changes
-rwxr-xr-x | sugar-jhbuild | 5 |
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): |