]> Devi Nivas Git - cs3210-lab1.git/commitdiff
Fixed run scripts... blerg
authorDavid Devecsery <ddevec@gatech.edu>
Thu, 14 May 2020 14:49:44 +0000 (10:49 -0400)
committerDavid Devecsery <ddevec@gatech.edu>
Thu, 14 May 2020 14:49:44 +0000 (10:49 -0400)
scripts/xv6-qemu

index 337bd2574af593f70d1cb5eff72e310952169061..17b9a26e38a2d26de8093763a844ade801f7cf60 100755 (executable)
@@ -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}