diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2012-08-01 13:36:56 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-08-01 13:39:12 +0200 |
commit | cccce60b3e9ef2c0cafcc5c5248423900d424a66 (patch) | |
tree | f43381efe39305c08b5d452c72af6e291b954363 /tools | |
parent | 285a46d1ca4d8fe1fb7477b8fdbe1d9b377443c4 (diff) | |
download | android-node-v8-cccce60b3e9ef2c0cafcc5c5248423900d424a66.tar.gz android-node-v8-cccce60b3e9ef2c0cafcc5c5248423900d424a66.tar.bz2 android-node-v8-cccce60b3e9ef2c0cafcc5c5248423900d424a66.zip |
installer: don't assume bash is installed
Use `/bin/sh` instead of `bash` when running the relocate.sh script.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/installer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/installer.js b/tools/installer.js index 092179dc27..46b84d49d2 100644 --- a/tools/installer.js +++ b/tools/installer.js @@ -53,7 +53,7 @@ function remove(files) { function shebang(line, npmDir) { var script = JSON.stringify(path.join(npmDir, 'scripts/relocate.sh')); var bin = JSON.stringify(path.join(npmDir, 'bin/npm-cli.js')); - queue.push('bash ' + script + ' ' + line); + queue.push('/bin/sh ' + script + ' ' + line); } // Run every command in queue, one-by-one |