mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
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:
commit
3824655df4
8
sake
8
sake
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user