Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2012-06-26 18:34:07 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2012-06-26 18:35:14 +0400
commit06c82c50697e4dc45c07b5c1f525e1cb82f13018 (patch)
treed6d21084518e6f4c1f933ebf6ebadfdcb3fd92a9 /configure
parent07e5877144d5d719f9bab1f866affb02deb23a0d (diff)
build: expand ~ in `./configure --prefix=~/a/b/c`
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index e1c36e2a0ec..2bf262b7432 100755
--- a/configure
+++ b/configure
@@ -258,7 +258,7 @@ def compiler_version():
def configure_node(o):
# TODO add gdb
- o['variables']['node_prefix'] = options.prefix if options.prefix else ''
+ o['variables']['node_prefix'] = os.path.expanduser(options.prefix or '')
o['variables']['node_install_npm'] = b(not options.without_npm)
o['variables']['node_install_waf'] = b(not options.without_waf)
o['variables']['host_arch'] = host_arch()