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

Meta: Start moving common shell definitions into a common file

This commit is contained in:
Tim Schumacher 2022-10-16 21:46:42 +02:00 committed by Linus Groh
parent 9d6c4c5137
commit 2a4f81fc83
6 changed files with 25 additions and 50 deletions

View file

@ -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"