diff --git a/scripts/dev.sh b/scripts/dev.sh index 233830e7c..0703ced1e 100644 --- a/scripts/dev.sh +++ b/scripts/dev.sh @@ -5,7 +5,7 @@ COMPOSER_COMMAND='composer' DIR="${BASH_SOURCE}" -if [[ ! -d "$DIR" ]]; then DIR="$PWD/scripts"; fi +if [ ! -d "$DIR" ]; then DIR="$PWD/scripts"; fi . "$DIR/require.sh" $COMPOSER_COMMAND install diff --git a/scripts/install.sh b/scripts/install.sh index e131929ce..62a46f4fb 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -5,7 +5,7 @@ COMPOSER_COMMAND='composer' DIR="${BASH_SOURCE}" -if [[ ! -d "$DIR" ]]; then DIR="$PWD/scripts"; fi +if [ ! -d "$DIR" ]; then DIR="$PWD/scripts"; fi . "$DIR/require.sh" ENV=$1 diff --git a/scripts/update.sh b/scripts/update.sh index 6fff8a723..f43c4f24c 100644 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -5,7 +5,7 @@ COMPOSER_COMMAND='composer' DIR="${BASH_SOURCE}" -if [[ ! -d "$DIR" ]]; then DIR="$PWD/scripts"; fi +if [ ! -d "$DIR" ]; then DIR="$PWD/scripts"; fi . "$DIR/require.sh" ENV=$1