From 06c82c50697e4dc45c07b5c1f525e1cb82f13018 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Tue, 26 Jun 2012 16:34:07 +0200 Subject: [PATCH] build: expand ~ in `./configure --prefix=~/a/b/c` --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()