source: imaps-frontend/node_modules/detect-libc/bin/detect-libc.js@ 0c6b92a

main
Last change on this file since 0c6b92a was 0c6b92a, checked in by stefan toskovski <stefantoska84@…>, 5 weeks ago

Pred finalna verzija

  • Property mode set to 100755
File size: 371 bytes
Line 
1#!/usr/bin/env node
2
3'use strict';
4
5var spawnSync = require('child_process').spawnSync;
6var libc = require('../');
7
8var spawnOptions = {
9 env: process.env,
10 shell: true,
11 stdio: 'inherit'
12};
13
14if (libc.isNonGlibcLinux) {
15 spawnOptions.env.LIBC = process.env.LIBC || libc.family;
16}
17
18process.exit(spawnSync(process.argv[2], process.argv.slice(3), spawnOptions).status);
Note: See TracBrowser for help on using the repository browser.