first commit
This commit is contained in:
commit
817b7cf4bc
838 changed files with 730686 additions and 0 deletions
18
node_modules/detect-libc/bin/detect-libc.js
generated
vendored
Executable file
18
node_modules/detect-libc/bin/detect-libc.js
generated
vendored
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
'use strict';
|
||||
|
||||
var spawnSync = require('child_process').spawnSync;
|
||||
var libc = require('../');
|
||||
|
||||
var spawnOptions = {
|
||||
env: process.env,
|
||||
shell: true,
|
||||
stdio: 'inherit'
|
||||
};
|
||||
|
||||
if (libc.isNonGlibcLinux) {
|
||||
spawnOptions.env.LIBC = process.env.LIBC || libc.family;
|
||||
}
|
||||
|
||||
process.exit(spawnSync(process.argv[2], process.argv.slice(3), spawnOptions).status);
|
||||
Loading…
Add table
Add a link
Reference in a new issue