Meta: Give SERENITY_ROOT a default value in CLion/run.sh

This commit is contained in:
Emanuele Torre 2020-06-24 05:34:51 +02:00 committed by Andreas Kling
parent e62475d6e7
commit 8f071137d1
Notes: sideshowbarker 2024-07-19 05:14:34 +09:00

View file

@ -5,9 +5,10 @@ set -e
: "${SERENITY_RAM_SIZE:='256M'}"
export SERENITY_RAM_SIZE
# set this to the Build directory in serenity
: "${SERENITY_BUILD:='/mnt/c/Users/Ragnarok/serenity-project/serenity/Build'}"
export SERENITY_BUILD
# set SERENITY_ROOT to the path to the serenity directory
: "${SERENITY_ROOT:='/mnt/c/Users/Ragnarok/serenity-project/serenity'}"
: "${SERENITY_BUILD:="$SERENITY_ROOT/Build"}"
export SERENITY_ROOT SERENITY_BUILD
cd -P -- "$SERENITY_BUILD" || exit
make install