[jhbuild] Fixed crash in CMake clean
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] Fixed crash in CMake clean
- Date: Fri, 10 Sep 2010 19:15:38 +0000 (UTC)
commit e340c423db503cd3104c4b2dfe718664afd4b9a5
Author: Nicolas Dufresne <nicolas dufresne collabora co uk>
Date: Fri Sep 10 14:59:59 2010 -0400
Fixed crash in CMake clean
https://bugzilla.gnome.org/show_bug.cgi?id=629316
jhbuild/modtypes/cmake.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/modtypes/cmake.py b/jhbuild/modtypes/cmake.py
index 0c86a49..ad02632 100644
--- a/jhbuild/modtypes/cmake.py
+++ b/jhbuild/modtypes/cmake.py
@@ -104,7 +104,8 @@ class CMakeModule(Package, DownloadableModule):
def do_clean(self, buildscript):
buildscript.set_action(_('Cleaning'), self)
- cmd = '%s %s clean' % (os.environ.get('MAKE', 'make'), makeargs)
+ builddir = self.get_builddir(buildscript)
+ cmd = '%s %s clean' % (os.environ.get('MAKE', 'make'), self.get_makeargs())
buildscript.execute(cmd, cwd = builddir,
extra_env = self.extra_env)
do_clean.depends = [PHASE_CONFIGURE]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]