summaryrefslogtreecommitdiff
path: root/Meta
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-09-17 02:06:56 -0700
committerBrian Gianforcaro <b.gianfo@gmail.com>2021-09-17 09:16:40 +0000
commit5c244a789309e2360ccfce06aa0dc7b461b3796c (patch)
tree3c7a73b248ea8fe1f21a197bca8cc0e194ca3b98 /Meta
parentfe9e2f463c7feeccd14083ad06345b3cc5a3ac9e (diff)
downloadserenity-5c244a789309e2360ccfce06aa0dc7b461b3796c.zip
Meta: Set SERENITY_ARCH if it is not set in debug-kernel.sh
This appears to have regressed recently in commit 783a58dbc.
Diffstat (limited to 'Meta')
-rwxr-xr-xMeta/debug-kernel.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/Meta/debug-kernel.sh b/Meta/debug-kernel.sh
index 235841944d..cc39c63602 100755
--- a/Meta/debug-kernel.sh
+++ b/Meta/debug-kernel.sh
@@ -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