1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:24:57 +00:00

Everywhere: Replace SERENITY_ROOT with SERENITY_SOURCE_DIR

This commit is contained in:
Panagiotis Vasilopoulos 2021-04-20 03:51:04 +03:00 committed by Linus Groh
parent 3f5c934ea6
commit e45e0eeb47
33 changed files with 69 additions and 69 deletions

View file

@ -2,13 +2,13 @@
set -e
if [ -z "$SERENITY_ROOT" ]
if [ -z "$SERENITY_SOURCE_DIR" ]
then
SERENITY_ROOT="$(git rev-parse --show-toplevel)"
SERENITY_SOURCE_DIR="$(git rev-parse --show-toplevel)"
echo "Serenity root not set. This is fine! Other scripts may require you to set the environment variable first, e.g.:"
echo " export SERENITY_ROOT=${SERENITY_ROOT}"
echo " export SERENITY_SOURCE_DIR=${SERENITY_SOURCE_DIR}"
fi
cd "$SERENITY_ROOT"
cd "$SERENITY_SOURCE_DIR"
find . \( -name Base -o -name Patches -o -name Ports -o -name Root -o -name Toolchain -o -name Build \) -prune -o \( -name '*.ipc' -or -name '*.cpp' -or -name '*.idl' -or -name '*.c' -or -name '*.h' -or -name '*.S' -or -name '*.css' -or -name '*.json' -or -name '*.gml' -or -name 'CMakeLists.txt' \) -print > serenity.files