Permalink
Browse files

build: expand ~ in `./configure --prefix=~/a/b/c`

  • Loading branch information...
1 parent 07e5877 commit 06c82c50697e4dc45c07b5c1f525e1cb82f13018 @bnoordhuis bnoordhuis committed Jun 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 configure
View
2 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()

0 comments on commit 06c82c5

Please sign in to comment.