Permalink
Browse files

Revert "install: only extract the `common.gypi` file from the tarball"

This reverts commit 1b85c39.
  • Loading branch information...
1 parent f4b17df commit 660cd323dac4069527f332ff622361e091de88d0 @TooTallNate TooTallNate committed Aug 13, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/install.js
View
@@ -373,7 +373,8 @@ function install (gyp, argv, callback) {
return minimatch(file, '*.h', { matchBase: true })
// non-legacy versions of node also extract the gyp build files
|| (!isLegacy &&
- (minimatch(file, 'common.gypi', { matchBase: true })
+ (minimatch(file, '*.gypi', { matchBase: true })
+ || minimatch(file, 'tools/gyp_addon')
|| (minimatch(file, 'tools/gyp/**') && !minimatch(file, 'tools/gyp/test/**'))
)
)

0 comments on commit 660cd32

Please sign in to comment.