From: FoxMaSk Date: Sun, 30 Oct 2016 21:46:09 +0000 (+0100) Subject: fix path for in install scripts X-Git-Tag: 2.1.3~9^2 X-Git-Url: https://git.immae.eu/?p=github%2Fwallabag%2Fwallabag.git;a=commitdiff_plain;h=99692e8c3322f31fa19b010ce488f88c5f3ce43a fix path for in install scripts --- diff --git a/scripts/dev.sh b/scripts/dev.sh index 233830e7..0703ced1 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 e131929c..62a46f4f 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 6fff8a72..f43c4f24 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