1
0
mirror of /repos/Prototyper.git synced 2026-02-27 16:12:00 +01:00

proper bash

This commit is contained in:
2020-03-11 22:59:21 +01:00
parent da439cf28f
commit 563f883917
2 changed files with 38 additions and 23 deletions

View File

@@ -4,7 +4,7 @@ current_dir=$(cd $(dirname $0) && pwd)
base_dir=${current_dir}/..
cd ${base_dir}
if [ ! -x ./opt/node-jscoverage/jscoverage ]; then
if [[ ! -x ./opt/node-jscoverage/jscoverage ]]; then
mkdir -p ./opt
cd ./opt
git clone git://github.com/visionmedia/node-jscoverage.git
@@ -13,7 +13,7 @@ if [ ! -x ./opt/node-jscoverage/jscoverage ]; then
cd ${base_dir}
fi
if [ ! -x ./node_modules/.bin/mocha ]; then
if [[ ! -x ./node_modules/.bin/mocha ]]; then
npm install mocha
fi