Skip to content
This repository
Browse code

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

  • Loading branch information...
commit 06c82c50697e4dc45c07b5c1f525e1cb82f13018 1 parent 07e5877
Ben Noordhuis authored June 26, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  configure
2  configure
@@ -258,7 +258,7 @@ def compiler_version():
258 258
 
259 259
 def configure_node(o):
260 260
   # TODO add gdb
261  
-  o['variables']['node_prefix'] = options.prefix if options.prefix else ''
  261
+  o['variables']['node_prefix'] = os.path.expanduser(options.prefix or '')
262 262
   o['variables']['node_install_npm'] = b(not options.without_npm)
263 263
   o['variables']['node_install_waf'] = b(not options.without_waf)
264 264
   o['variables']['host_arch'] = host_arch()

0 notes on commit 06c82c5

Please sign in to comment.
Something went wrong with that request. Please try again.