From 1b549d4e0773e9455aaa45d325fe3610fdbfc4b0 Mon Sep 17 00:00:00 2001
From: Ryan Hancock <krhancoc@uwaterloo.ca>
Date: Tue, 18 Jan 2022 20:01:27 -0500
Subject: [PATCH] LOGS not LOG

---
 os161-container/helpers.sh | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/os161-container/helpers.sh b/os161-container/helpers.sh
index ecf3174..cd0e4db 100755
--- a/os161-container/helpers.sh
+++ b/os161-container/helpers.sh
@@ -36,12 +36,12 @@ build_k_helper() {
 	cd ../compile/$1
 	echo "[CS350] $1 Making Kernel..."
 	touch $LOGS/depend.log
-	bmake depend >> $LOGS/depend.log 2>> $LOG/depend.log
+	bmake depend >> $LOGS/depend.log 2>> $LOGS/depend.log
 
 	# Make and install - step 3
 	touch $LOGS/make.log
-	bmake WERROR= >> $LOGS/make.log 2>> $LOG/make.log
-	bmake install >> $LOGS/make.log 2>> $LOG/make.log
+	bmake WERROR= >> $LOGS/make.log 2>> $LOGS/make.log
+	bmake install >> $LOGS/make.log 2>> $LOGS/make.log
 
 	cd /os-compile/
 	cp /sys161.conf .
@@ -60,6 +60,7 @@ test_kernel() {
 	if [ "$#" -ne 1 ]; then
 		echo "Usage: test_kernel <ASST0, ASST1 ...>"
 	fi
+	echo $LOGS
 
 	cd /os-compile
 	echo "[CS350] Tests $1"
@@ -81,6 +82,7 @@ test_kernel() {
 		done
 	done
 	cd - > /dev/null
+	echo $LOGS
 	/evalaute $LOGS/test_public.log /assignments/$1
 }
 
-- 
GitLab