mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUG Fix sake path lookup to find vendor framework
Remove legacy sapphire lookup
This commit is contained in:
parent
d876e36424
commit
5ccbabd36c
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…
Reference in New Issue
Block a user