gnunet-svn
[Top][All Lists]
Advanced

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

[taler-build-common] 19/50: fix prefix.


From: gnunet
Subject: [taler-build-common] 19/50: fix prefix.
Date: Sat, 02 Nov 2019 16:38:38 +0100

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

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

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]