summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranon <anon@T420>2019-12-24 10:23:43 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-12-24 11:12:00 +0100
commitd058a9319da7aef920f2060adda589200969f4d0 (patch)
tree1f33d1ef6feaea74afffa77b9b76a56c5d869c97
parentbbe99ae960da092a3a2201652ec97bee27ddaedc (diff)
downloadserenity-d058a9319da7aef920f2060adda589200969f4d0.zip
Meta: refresh-serenity-qtcreator.sh now checks if SERENITY_ROOT is set
-rwxr-xr-xMeta/refresh-serenity-qtcreator.sh4
1 files changed, 4 insertions, 0 deletions
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