Meta: Set SERENITY_ARCH if it is not set in debug-kernel.sh

This appears to have regressed recently in commit 783a58dbc.
This commit is contained in:
Brian Gianforcaro 2021-09-17 02:06:56 -07:00 committed by Brian Gianforcaro
parent fe9e2f463c
commit 5c244a7893
Notes: sideshowbarker 2024-07-18 03:47:25 +09:00

View file

@ -2,6 +2,10 @@
SCRIPT_DIR="$(dirname "${0}")"
if [ -z "$SERENITY_ARCH" ]; then
SERENITY_ARCH="i686"
fi
# Set this environment variable to override the default debugger.
#
if [ -z "$SERENITY_KERNEL_DEBUGGER" ]; then