Added double brackets to scripts

This commit is contained in:
squidfunk 2016-10-31 10:06:50 +01:00
parent cedc65d9fa
commit 00b289bc0e
5 changed files with 5 additions and 5 deletions

View File

@ -21,7 +21,7 @@
# IN THE SOFTWARE.
# Check if "npm install" was executed
if [ ! -d ../node_modules ]; then
if [[ ! -d ../node_modules ]]; then
echo "\"node_modules\" not found:"
echo "npm install"
exit 1

View File

@ -21,7 +21,7 @@
# IN THE SOFTWARE.
# Check if "npm install" was executed
if [ ! -d ../node_modules ]; then
if [[ ! -d ../node_modules ]]; then
echo "\"node_modules\" not found:"
echo "npm install"
exit 1

View File

@ -21,7 +21,7 @@
# IN THE SOFTWARE.
# Check if "npm install" was executed
if [ ! -d ../node_modules ]; then
if [[ ! -d ../node_modules ]]; then
echo "\"node_modules\" not found:"
echo "npm install"
exit 1

View File

@ -21,7 +21,7 @@
# IN THE SOFTWARE.
# Check if "npm install" was executed
if [ ! -d $(pwd)/node_modules ]; then
if [[ ! -d ../node_modules ]]; then
echo "\"node_modules\" not found:"
echo "npm install"
exit 1

View File

@ -21,7 +21,7 @@
# IN THE SOFTWARE.
# Check if "npm install" was executed
if [ ! -d ../node_modules ]; then
if [[ ! -d ../node_modules ]]; then
echo "\"node_modules\" not found:"
echo "npm install"
exit 1