From: David Devecsery Date: Thu, 14 May 2020 14:49:44 +0000 (-0400) Subject: Fixed run scripts... blerg X-Git-Url: https://git.devinivas.org/?a=commitdiff_plain;h=82a832ad890fa79b8214084a8a3cf89a7844d7be;p=cs3210-lab1.git Fixed run scripts... blerg --- diff --git a/scripts/xv6-qemu b/scripts/xv6-qemu index 337bd25..17b9a26 100755 --- a/scripts/xv6-qemu +++ b/scripts/xv6-qemu @@ -38,6 +38,7 @@ while true; do ;; -v|--verbose) VERBOSE=true + shift ;; -c|--num-cpus) CPUS="$2" @@ -63,9 +64,9 @@ done SCRIPT="qemu-system-i386 ${GRAPHIC} -drive file=user/fs.img,index=1,media=disk,format=raw -drive file=xv6.img,index=0,media=disk,format=raw -smp ${CPUS} -m ${MEMORY} ${GDB}" -#if [[ ${VERBOSE} ]]; then +if [[ ${VERBOSE} ]]; then echo "COMMAND: ${SCRIPT}" -#fi +fi ${SCRIPT}