diff options
author | Brian Gianforcaro <bgianf@serenityos.org> | 2021-09-17 02:06:56 -0700 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2021-09-17 09:16:40 +0000 |
commit | 5c244a789309e2360ccfce06aa0dc7b461b3796c (patch) | |
tree | 3c7a73b248ea8fe1f21a197bca8cc0e194ca3b98 /Meta | |
parent | fe9e2f463c7feeccd14083ad06345b3cc5a3ac9e (diff) | |
download | serenity-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-x | Meta/debug-kernel.sh | 4 |
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 |