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
1 changed files with 2 additions and 2 deletions

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