Skip to content

Commit

Permalink
Modify for build
Browse files Browse the repository at this point in the history
  • Loading branch information
qwu16 committed Oct 17, 2019
1 parent 31318d3 commit 1b01c98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const originCwd = cwd();

// Detect OS script
const osScript = path.join(rootDir, 'scripts/detectOS.sh');
const osType = execSync(`. ${osScript}`).toString().toLowerCase();
const osType = execSync(`/bin/bash ${osScript}`).toString().toLowerCase();
const msdkDir = '/opt/intel/mediasdk';

function getTargets() {
Expand Down Expand Up @@ -169,4 +169,4 @@ Promise.all(works)
let checkOutput = execSync(`node ${moduleTestScript} ${runtimeAddonDir}`).toString();
console.log(checkOutput);
}
});
});

0 comments on commit 1b01c98

Please sign in to comment.