Procházet zdrojové kódy

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

This appears to have regressed recently in commit 783a58dbc.
Brian Gianforcaro před 3 roky
rodič
revize
5c244a7893
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 4 0
      Meta/debug-kernel.sh

+ 4 - 0
Meta/debug-kernel.sh

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