From 3a97ccc657ca460213021f715775d1dccc0d9726 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 31 Oct 2019 23:04:49 +0100 Subject: Fix several minor shell script issues Minor variable naming and function naming issues. Also use `bash` and use POSIX-compliant `/usr/bin/env`. --- kernel/build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/build.sh b/kernel/build.sh index 86842b1..bf8c971 100755 --- a/kernel/build.sh +++ b/kernel/build.sh @@ -1,4 +1,4 @@ -#!/usr/bin/sh +#! /usr/bin/env bash ASM_PATH="src/" TARGET_PATH="target" @@ -61,7 +61,7 @@ build_launch() { } build_launch_serial() { - $QEMU -device isa-debug-exit,iobase=0xf4,iosize=0x04 -serial stdio #-display none + $QUEMU -device isa-debug-exit,iobase=0xf4,iosize=0x04 -serial stdio #-display none } build_run() { @@ -80,7 +80,7 @@ build_build() { cleanup_target build_run } -build_build() { +build_tests() { cargo xbuild --features testing cleanup_target build_kernel_iso -- cgit v1.2.3-70-g09d2