From 101bed639b8263e241a3dac6924cd329d71868f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Lal?= Date: Tue, 22 Sep 2015 10:07:30 +0200 Subject: [PATCH] process.platform will never be kfreebsd This platform value came from debian package, and now the value from debian package is simply "freebsd", so this check is useless. PR-URL: https://github.com/nodejs/node-gyp/pull/738 Reviewed-By: rvagg Reviewed-By: bnoordhuis Reviewed-By: jbergstroem --- lib/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/build.js b/lib/build.js index 198017b262..fb67d1da8a 100644 --- a/lib/build.js +++ b/lib/build.js @@ -21,7 +21,7 @@ exports.usage = 'Invokes `' + (win ? 'msbuild' : 'make') + '` and builds the mod function build (gyp, argv, callback) { var release = processRelease(argv, gyp, process.version, process.release) , makeCommand = gyp.opts.make || process.env.MAKE - || (process.platform.indexOf('bsd') != -1 && process.platform.indexOf('kfreebsd') == -1 ? 'gmake' : 'make') + || (process.platform.indexOf('bsd') != -1 ? 'gmake' : 'make') , command = win ? 'msbuild' : makeCommand , buildDir = path.resolve('build') , configPath = path.resolve(buildDir, 'config.gypi')