mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
Meta: Start moving common shell definitions into a common file
This commit is contained in:
parent
9d6c4c5137
commit
2a4f81fc83
Notes:
sideshowbarker
2024-07-17 06:09:44 +09:00
Author: https://github.com/timschumi
Commit: 2a4f81fc83
Pull-request: https://github.com/SerenityOS/serenity/pull/15645
Reviewed-by: https://github.com/linusg ✅
Reviewed-by: https://github.com/nico
6 changed files with 25 additions and 50 deletions
|
@ -14,16 +14,9 @@ fi
|
|||
|
||||
set -e
|
||||
|
||||
SUDO="sudo"
|
||||
SCRIPT_DIR="$(dirname "${0}")"
|
||||
|
||||
if [ "$(uname -s)" = "SerenityOS" ]; then
|
||||
SUDO="pls"
|
||||
fi
|
||||
|
||||
die() {
|
||||
echo "die: $*"
|
||||
exit 1
|
||||
}
|
||||
. "${SCRIPT_DIR}/.shell_include.sh"
|
||||
|
||||
USE_FUSE2FS=0
|
||||
|
||||
|
@ -66,7 +59,6 @@ else
|
|||
fi
|
||||
fi
|
||||
|
||||
SCRIPT_DIR="$(dirname "${0}")"
|
||||
|
||||
# Prepend the toolchain qemu directory so we pick up QEMU from there
|
||||
PATH="$SCRIPT_DIR/../Toolchain/Local/qemu/bin:$PATH"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue