From 99692e8c3322f31fa19b010ce488f88c5f3ce43a Mon Sep 17 00:00:00 2001 From: FoxMaSk Date: Sun, 30 Oct 2016 22:46:09 +0100 Subject: [PATCH] fix path for in install scripts --- scripts/dev.sh | 2 +- scripts/install.sh | 2 +- scripts/update.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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