Skip to content

Commit

Permalink
configure: remove all "+" signs from the Python version
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Sep 7, 2012
1 parent f7c31af commit 4578dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/configure.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function configure (gyp, argv, callback) {
var version = stdout.trim()
if (~version.indexOf('+')) {
log.silly('stripping "+" sign(s) from version')
version = version.replace(/\+/, '')
version = version.replace(/\+/g, '')
}
if (semver.gte(version, '2.5.0') && semver.lt(version, '3.0.0')) {
getNodeDir()
Expand Down

0 comments on commit 4578dac

Please sign in to comment.