node-jscoverage icon indicating copy to clipboard operation
node-jscoverage copied to clipboard

use of $USER in configure script crashes if $USER has an invalid token

Open elee opened this issue 13 years ago • 1 comments

My login is 'eric.lee' on a machine I'm trying to ./configure node-jscoverage on

This seems to upset ./configure when it tries to create a C preprocessor define #DEBUG_eric.lee

because '.' is an invalid token for a preprocessor #{,un}define in C

configure log output: https://gist.github.com/3842533

using latest, i.e. https://github.com/visionmedia/node-jscoverage/commit/36b3ba5d82a87ffe45ae7101b7b036a3cb25483e

elee avatar Oct 05 '12 21:10 elee

workaround, just reassign $USER and re-run ./configure

i.e.

 $ echo $USER
 foo.bar
 $ USER = foobar
 $ ./configure

elee avatar Oct 05 '12 21:10 elee