From d058a9319da7aef920f2060adda589200969f4d0 Mon Sep 17 00:00:00 2001 From: anon Date: Tue, 24 Dec 2019 10:23:43 +0200 Subject: [PATCH] Meta: refresh-serenity-qtcreator.sh now checks if SERENITY_ROOT is set --- Meta/refresh-serenity-qtcreator.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Meta/refresh-serenity-qtcreator.sh b/Meta/refresh-serenity-qtcreator.sh index d5cc86f4d8..00ad76b3e8 100755 --- a/Meta/refresh-serenity-qtcreator.sh +++ b/Meta/refresh-serenity-qtcreator.sh @@ -1,4 +1,8 @@ #!/bin/sh +if [ ! -n "$SERENITY_ROOT" ] +then echo "Serenety root not set." +fi + cd "$SERENITY_ROOT" || exit 1 find . -name '*.ipc' -or -name '*.cpp' -or -name '*.c' -or -name '*.h' -or -name '*.S' -or -name '*.css' | grep -Fv Patches/ | grep -Fv Root/ | grep -Fv Ports/ | grep -Fv Toolchain/ | grep -Fv Base/ > serenity.files