[jhbuild] add check for wget/curl in sanitycheck (GNOME bug 591239)
- From: Craig Keogh <cskeogh src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [jhbuild] add check for wget/curl in sanitycheck (GNOME bug 591239)
- Date: Fri, 6 Nov 2009 08:53:43 +0000 (UTC)
commit cd7ba2452b21b251128758d3e5f30ef5143fd0e9
Author: Craig Keogh <cskeogh adam com au>
Date: Sun Oct 11 21:56:44 2009 +1030
add check for wget/curl in sanitycheck (GNOME bug 591239)
jhbuild/commands/sanitycheck.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/jhbuild/commands/sanitycheck.py b/jhbuild/commands/sanitycheck.py
index 306c168..c77d013 100644
--- a/jhbuild/commands/sanitycheck.py
+++ b/jhbuild/commands/sanitycheck.py
@@ -141,6 +141,10 @@ class cmd_sanitycheck(Command):
if not inpath('svn', os.environ['PATH'].split(os.pathsep)):
uprint(_('%s not found') % 'svn')
+ if not (inpath('curl', os.environ['PATH'].split(os.pathsep)) or
+ inpath('wget', os.environ['PATH'].split(os.pathsep))):
+ uprint(_('%s or %s not found') % ('curl', 'wget'))
+
# check for git:
if not inpath('git', os.environ['PATH'].split(os.pathsep)):
uprint(_('%s not found') % 'git')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]