build: expand ~ in install prefix early
authorBen Noordhuis <info@bnoordhuis.nl>
Wed, 5 Aug 2015 12:44:21 +0000 (14:44 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Tue, 11 Aug 2015 11:57:32 +0000 (13:57 +0200)
commitae05807f0472fbe73b96660a93ae4b4924eb67ce
tree22049ccd071ecbbd2f57dfbbb64759085cfc0cfe
parent226b8e0cf8374a0074142145858fa0aa94bca3ce
build: expand ~ in install prefix early

The install prefix gets written to config.gypi and config.mk.  Tildes
were expanded in the first file but not in the second one, causing the
`make install` target to install files to a directory named `~` in
the current working directory.

Fixes: https://github.com/nodejs/node/issues/75
PR-URL: https://github.com/nodejs/io.js/pull/2307
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
configure