mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 17:40:27 +00:00
Meta: Give SERENITY_ROOT a default value in CLion/run.sh
This commit is contained in:
parent
e62475d6e7
commit
8f071137d1
Notes:
sideshowbarker
2024-07-19 05:14:34 +09:00
Author: https://github.com/emanuele6 Commit: https://github.com/SerenityOS/serenity/commit/8f071137d1f Pull-request: https://github.com/SerenityOS/serenity/pull/2617 Reviewed-by: https://github.com/bugaevc Reviewed-by: https://github.com/ericonr
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…
Reference in a new issue