gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-taler-build-scripts] branch master updated: fix node


From: gnunet
Subject: [GNUnet-SVN] [taler-taler-build-scripts] branch master updated: fix node version check.
Date: Fri, 04 Oct 2019 18:00:51 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository taler-build-scripts.

The following commit(s) were added to refs/heads/master by this push:
     new 63f01ec  fix node version check.
63f01ec is described below

commit 63f01ec1ac63874de876fda09ff3d17b86a36cde
Author: ng0 <address@hidden>
AuthorDate: Fri Oct 4 16:00:34 2019 +0000

    fix node version check.
---
 configure.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.py b/configure.py
index 8fc6e04..a7a2be9 100644
--- a/configure.py
+++ b/configure.py
@@ -47,7 +47,7 @@ def _tool_node():
     if _existence('node') is None:
         sys.exit('Error: node executable not found.\nIf you are using Linux, 
Ubuntu or Debian, try installing the\nnode-legacy package or symlink node to 
nodejs.')
     else:
-        if subprocess.getstatusoutput("node -p 
'process.exit(!(/v([0-9]+)/.exec(process.version)[1] >= 4))'")[1] is '':
+        if subprocess.getstatusoutput("node -p 
'process.exit(!(/v([0-9]+)/.exec(process.version)[1] >= 4))'")[1] is not '':
             # and exit(1) here?
             sys.exit('Your node version is too old, use Node 4.x or newer')
         else:

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]