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()
{
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