Browse Source

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

This appears to have regressed recently in commit 783a58dbc.
Brian Gianforcaro 3 years ago
parent
commit
5c244a7893
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Meta/debug-kernel.sh

+ 4 - 0
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