diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2019-10-31 23:04:49 +0100 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2019-10-31 23:07:00 +0100 |
commit | 3a97ccc657ca460213021f715775d1dccc0d9726 (patch) | |
tree | 443f04994e9f16b296a4f6956dfe323f11bebc58 | |
parent | 9aae1d6f72228b17407a988a81d70b5bc64407aa (diff) |
Fix several minor shell script issues
Minor variable naming and function naming issues. Also use `bash` and
use POSIX-compliant `/usr/bin/env`.
-rwxr-xr-x | kernel/build.sh | 6 |
1 files 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 |