[jhbuild] abort on obsolete start script (GNOME #582490)
- From: Frederic Peters <fpeters src gnome org>
- To: svn-commits-list gnome org
- Subject: [jhbuild] abort on obsolete start script (GNOME #582490)
- Date: Wed, 13 May 2009 18:31:07 -0400 (EDT)
commit 55749bf95c0a09b5a16a9be578230a93c1f034fd
Author: Frédéric Péters <fpeters 0d be>
Date: Thu May 14 00:30:19 2009 +0200
abort on obsolete start script (GNOME #582490)
---
jhbuild/config.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/jhbuild/config.py b/jhbuild/config.py
index e2cae12..fdd1e94 100644
--- a/jhbuild/config.py
+++ b/jhbuild/config.py
@@ -110,6 +110,11 @@ class Config:
if not self._orig_environ:
self.__dict__['_orig_environ'] = os.environ.copy()
+ try:
+ SRCDIR
+ except NameError:
+ raise FatalError(_('Obsolete jhbuild start script, do run \'make install\''))
+
env_prepends.clear()
try:
execfile(_defaults_file, self._config)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]