mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-10 19:46:03 +00:00
Toolchain: Exit Build*.sh scripts if executed as root
This commit is contained in:
parent
9ef3704ce8
commit
f5cb46e316
Notes:
sideshowbarker
2024-07-17 21:26:19 +09:00
Author: https://github.com/kennethmyhra
Commit: f5cb46e316
Pull-request: https://github.com/SerenityOS/serenity/pull/18495
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/fdellwing
9 changed files with 48 additions and 3 deletions
|
@ -5,6 +5,11 @@ set -e
|
|||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
. "${DIR}/../Meta/shell_include.sh"
|
||||
|
||||
exit_if_running_as_root "Do not run BuildRuby.sh as root, parts of your Toolchain directory will become root-owned"
|
||||
|
||||
PREFIX_DIR="$DIR/Local/ruby"
|
||||
BUILD_DIR="$DIR/Build/ruby"
|
||||
TARBALLS_DIR="$DIR/Tarballs"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue