Skip to content

Commit

Permalink
Minor bugfix when installing
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisDavie committed Oct 23, 2018
1 parent 0af54ca commit 351e192
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ shell.exec('npm install opt/scopeserver/bindserver');

var execSync = require('child_process').execSync;
try {
var output = cp.execSync('python3.6 -c "import sys; print(sys.version)"', { encoding: 'utf-8' });
var output = execSync('python3.6 -c "import sys; print(sys.version)"', { encoding: 'utf-8' });
var python = 'python3.6'
} catch(e) {
try {
var output = cp.execSync('python3 -c "import sys; print(sys.version)"', { encoding: 'utf-8' });
var output = execSync('python3 -c "import sys; print(sys.version)"', { encoding: 'utf-8' });
var python = 'python3'
} catch(e) {
var output = cp.execSync('python -c "import sys; print(sys.version)"', { encoding: 'utf-8' });
var output = execSync('python -c "import sys; print(sys.version)"', { encoding: 'utf-8' });
var python = 'python'
}
} finally {
Expand Down

0 comments on commit 351e192

Please sign in to comment.