1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-12-05 02:31:33 +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() run_frontend()
{ {
FRONTEND_IN_TEST="${TEST_PATH}/solvable/src/frontend" FRONTEND_IN_TEST="${TEST_PATH}/solvable/frontend"
if [ -d "$FRONTEND_IN_TEST" ] if [ "$(find "$FRONTEND_IN_TEST" | wc -l)" -gt 2 ]
then then
cd $FRONTEND_IN_TEST cd $FRONTEND_IN_TEST
else else