From 867727d1ed6eb027b98624ebb1e91503a086b81d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Sat, 31 Mar 2018 19:40:32 +0200 Subject: [PATCH] Fix nested frontend detection in tfw.sh --- hack/tfw.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/tfw.sh b/hack/tfw.sh index 27e17ed..803ba68 100755 --- a/hack/tfw.sh +++ b/hack/tfw.sh @@ -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