[jhbuild] Package: Hard require DESTDIR support again
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] Package: Hard require DESTDIR support again
- Date: Fri, 15 Jul 2011 15:29:02 +0000 (UTC)
commit bf65971988d64ba16136893871e270115c37b87d
Author: Colin Walters <walters verbum org>
Date: Fri Jul 15 11:15:51 2011 -0400
Package: Hard require DESTDIR support again
https://bugzilla.gnome.org/show_bug.cgi?id=654592
jhbuild/modtypes/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/modtypes/__init__.py b/jhbuild/modtypes/__init__.py
index ffc3e4a..0110e65 100644
--- a/jhbuild/modtypes/__init__.py
+++ b/jhbuild/modtypes/__init__.py
@@ -263,7 +263,7 @@ them into the prefix."""
os.rmdir(destdir)
if not install_succeeded:
- logging.warn(_("Module failed to install into DESTDIR %(dest)r") % {'dest': broken_name})
+ raise CommandError(_("Module failed to install into DESTDIR %(dest)r") % {'dest': broken_name})
def get_revision(self):
return self.branch.tree_id()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]