fix path for in install scripts

This commit is contained in:
FoxMaSk 2016-10-30 22:38:38 +01:00
parent f74061f1e1
commit 038469e73f
3 changed files with 9 additions and 9 deletions

View file

@ -4,8 +4,8 @@
COMPOSER_COMMAND='composer'
DIR="${BASH_SOURCE%/*}"
if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi
DIR="${BASH_SOURCE}"
if [[ ! -d "$DIR" ]]; then DIR="$PWD/scripts"; fi
. "$DIR/require.sh"
$COMPOSER_COMMAND install

View file

@ -4,8 +4,8 @@
COMPOSER_COMMAND='composer'
DIR="${BASH_SOURCE%/*}"
if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi
DIR="${BASH_SOURCE}"
if [[ ! -d "$DIR" ]]; then DIR="$PWD/scripts"; fi
. "$DIR/require.sh"
ENV=$1

View file

@ -4,8 +4,8 @@
COMPOSER_COMMAND='composer'
DIR="${BASH_SOURCE%/*}"
if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi
DIR="${BASH_SOURCE}"
if [[ ! -d "$DIR" ]]; then DIR="$PWD/scripts"; fi
. "$DIR/require.sh"
ENV=$1