mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Added double brackets to scripts
This commit is contained in:
parent
cedc65d9fa
commit
00b289bc0e
@ -21,7 +21,7 @@
|
|||||||
# IN THE SOFTWARE.
|
# IN THE SOFTWARE.
|
||||||
|
|
||||||
# Check if "npm install" was executed
|
# Check if "npm install" was executed
|
||||||
if [ ! -d ../node_modules ]; then
|
if [[ ! -d ../node_modules ]]; then
|
||||||
echo "\"node_modules\" not found:"
|
echo "\"node_modules\" not found:"
|
||||||
echo "npm install"
|
echo "npm install"
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
# IN THE SOFTWARE.
|
# IN THE SOFTWARE.
|
||||||
|
|
||||||
# Check if "npm install" was executed
|
# Check if "npm install" was executed
|
||||||
if [ ! -d ../node_modules ]; then
|
if [[ ! -d ../node_modules ]]; then
|
||||||
echo "\"node_modules\" not found:"
|
echo "\"node_modules\" not found:"
|
||||||
echo "npm install"
|
echo "npm install"
|
||||||
exit 1
|
exit 1
|
||||||
|
2
bin/lint
2
bin/lint
@ -21,7 +21,7 @@
|
|||||||
# IN THE SOFTWARE.
|
# IN THE SOFTWARE.
|
||||||
|
|
||||||
# Check if "npm install" was executed
|
# Check if "npm install" was executed
|
||||||
if [ ! -d ../node_modules ]; then
|
if [[ ! -d ../node_modules ]]; then
|
||||||
echo "\"node_modules\" not found:"
|
echo "\"node_modules\" not found:"
|
||||||
echo "npm install"
|
echo "npm install"
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
# IN THE SOFTWARE.
|
# IN THE SOFTWARE.
|
||||||
|
|
||||||
# Check if "npm install" was executed
|
# Check if "npm install" was executed
|
||||||
if [ ! -d $(pwd)/node_modules ]; then
|
if [[ ! -d ../node_modules ]]; then
|
||||||
echo "\"node_modules\" not found:"
|
echo "\"node_modules\" not found:"
|
||||||
echo "npm install"
|
echo "npm install"
|
||||||
exit 1
|
exit 1
|
||||||
|
2
bin/test
2
bin/test
@ -21,7 +21,7 @@
|
|||||||
# IN THE SOFTWARE.
|
# IN THE SOFTWARE.
|
||||||
|
|
||||||
# Check if "npm install" was executed
|
# Check if "npm install" was executed
|
||||||
if [ ! -d ../node_modules ]; then
|
if [[ ! -d ../node_modules ]]; then
|
||||||
echo "\"node_modules\" not found:"
|
echo "\"node_modules\" not found:"
|
||||||
echo "npm install"
|
echo "npm install"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user