Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/bundlemodule.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/bundlemodule.py b/scripts/bundlemodule.py
index 47aaf9d..2372ba3 100644
--- a/scripts/bundlemodule.py
+++ b/scripts/bundlemodule.py
@@ -78,10 +78,8 @@ class BundleModule(Package):
srcdir = self.get_srcdir(buildscript)
builddir = self.get_builddir(buildscript)
python = os.environ.get('PYTHON', 'python')
- cmd = [python, 'setup.py']
- prefix = os.path.join(buildscript.config.prefix)
- cmd.extend(['install', os.path.join(prefix, 'share', 'sugar',
- 'activities')])
+ cmd = [python, 'setup.py', 'install']
+ cmd.extend(['--prefix', buildscript.config.prefix])
buildscript.execute(cmd, cwd=srcdir)
buildscript.packagedb.add(self.name, self.get_revision() or '')
do_install.next_state = Package.STATE_DONE