mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:27:45 +00:00
Toolchain: Exit Build*.sh scripts if executed as root
This commit is contained in:
parent
9ef3704ce8
commit
f5cb46e316
9 changed files with 48 additions and 3 deletions
|
@ -3,6 +3,12 @@ set -e
|
|||
# This file will need to be run in bash.
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
. "${DIR}/../Meta/shell_include.sh"
|
||||
|
||||
exit_if_running_as_root "Do not run BuildFuseExt2.sh as root, parts of your Toolchain directory will become root-owned"
|
||||
|
||||
export PATH="/usr/local/opt/m4/bin:$PATH"
|
||||
|
||||
die() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue