mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:47:35 +00:00
Meta: Give SERENITY_ROOT a default value in CLion/run.sh
This commit is contained in:
parent
e62475d6e7
commit
8f071137d1
1 changed files with 4 additions and 3 deletions
|
@ -5,9 +5,10 @@ set -e
|
||||||
: "${SERENITY_RAM_SIZE:='256M'}"
|
: "${SERENITY_RAM_SIZE:='256M'}"
|
||||||
export SERENITY_RAM_SIZE
|
export SERENITY_RAM_SIZE
|
||||||
|
|
||||||
# set this to the Build directory in serenity
|
# set SERENITY_ROOT to the path to the serenity directory
|
||||||
: "${SERENITY_BUILD:='/mnt/c/Users/Ragnarok/serenity-project/serenity/Build'}"
|
: "${SERENITY_ROOT:='/mnt/c/Users/Ragnarok/serenity-project/serenity'}"
|
||||||
export SERENITY_BUILD
|
: "${SERENITY_BUILD:="$SERENITY_ROOT/Build"}"
|
||||||
|
export SERENITY_ROOT SERENITY_BUILD
|
||||||
|
|
||||||
cd -P -- "$SERENITY_BUILD" || exit
|
cd -P -- "$SERENITY_BUILD" || exit
|
||||||
make install
|
make install
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue