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 pref


From: gnunet
Subject: [GNUnet-SVN] [taler-taler-build-scripts] branch master updated: fix prefix.
Date: Fri, 04 Oct 2019 18:31: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 10007a3  fix prefix.
10007a3 is described below

commit 10007a30586ff20fd0070beb78c565229c6badc1
Author: ng0 <address@hidden>
AuthorDate: Fri Oct 4 16:31:39 2019 +0000

    fix prefix.
---
 configure.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/configure.py b/configure.py
index dc538e9..b0849db 100644
--- a/configure.py
+++ b/configure.py
@@ -126,13 +126,15 @@ def _read_prefix():
             myprefix = p_myprefix
     elif args.prefix:
         myprefix = args.prefix
+    else:
+        myprefix = parser.get_default('prefix')
     if args.yarn is not None:
         yarnexe = args.yarn
     else:
         yarnexe = str(_tool_yarn())
     if 'DEBUG' in os.environ:
         logger.debug('%s', repr(myprefix))
-    if args.prefix and os.path.isdir(myprefix) is True:
+    if os.path.isdir(myprefix) is True:
         return [myprefix, yarnexe];
 
 def main():

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



reply via email to

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