1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-12-05 02:41:32 +00:00

Fix nested frontend detection in tfw.sh

This commit is contained in:
Kristóf Tóth 2018-03-31 19:40:32 +02:00
parent 1a2d0badde
commit 867727d1ed

View File

@ -65,8 +65,8 @@ build_and_run_test()
run_frontend()
{
FRONTEND_IN_TEST="${TEST_PATH}/solvable/src/frontend"
if [ -d "$FRONTEND_IN_TEST" ]
FRONTEND_IN_TEST="${TEST_PATH}/solvable/frontend"
if [ "$(find "$FRONTEND_IN_TEST" | wc -l)" -gt 2 ]
then
cd $FRONTEND_IN_TEST
else