[jhbuild] [moduleset] use local filename even if a path is not given
- From: Frederic Peters <fpeters src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [jhbuild] [moduleset] use local filename even if a path is not given
- Date: Tue, 25 Aug 2009 08:01:42 +0000 (UTC)
commit a56b2eea0cf15937ac12bba876d4dfd744badb6d
Author: Frédéric Péters <fpeters 0d be>
Date: Tue Aug 25 10:00:29 2009 +0200
[moduleset] use local filename even if a path is not given
jhbuild/moduleset.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/moduleset.py b/jhbuild/moduleset.py
index e97c82e..5dda227 100644
--- a/jhbuild/moduleset.py
+++ b/jhbuild/moduleset.py
@@ -282,7 +282,7 @@ def load(config, uri=None):
modulesets = [ config.moduleset ]
ms = ModuleSet(config = config)
for uri in modulesets:
- if '/' not in uri:
+ if '/' not in uri and not os.path.exists(uri):
if config.modulesets_dir and config.nonetwork or config.use_local_modulesets:
uri = os.path.join(config.modulesets_dir, uri + '.modules')
else:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]