mirror of
/repos/Prototyper.git
synced 2026-02-27 16:12:00 +01:00
proper bash
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user