Merge pull request #7473 from open-sausages/pulls/4.0/fix-sake-path

BUG Fix sake path lookup to find vendor framework
This commit is contained in:
Daniel Hensby 2017-10-12 08:39:34 +01:00 committed by GitHub
commit 3824655df4

8
sake
View File

@ -24,12 +24,12 @@ else
directory="$PWD" directory="$PWD"
base=. base=.
for (( n=${#slashes}; n>0; --n )) do for (( n=${#slashes}; n>0; --n )) do
if [ -d "$directory/framework" ]; then if [ -d "$directory/vendor/silverstripe/framework" ]; then
framework="$directory/framework" framework="$directory/vendor/silverstripe/framework"
break break
elif [ -d "$directory/sapphire" ]; then elif [ -d "$directory/framework" ]; then
framework="$directory/sapphire" framework="$directory/framework"
break break
fi fi