Commit 3d9a2a07 authored by Yandong Mao's avatar Yandong Mao

update

parent 32b505ff
...@@ -12,6 +12,9 @@ LABS=" lab1 lab2a lab2b lab3a lab3b lab4a lab4b " ...@@ -12,6 +12,9 @@ LABS=" lab1 lab2a lab2b lab3a lab3b lab4a lab4b "
if test -z $(KEY) ; then \ if test -z $(KEY) ; then \
echo "Missing $(PWD)/api.key. Please create the file with your key in it or submit the $@-handin.tar.gz via the web interface."; \ echo "Missing $(PWD)/api.key. Please create the file with your key in it or submit the $@-handin.tar.gz via the web interface."; \
else \ else \
echo "Are you sure you want to submit $@? Enter 'yes' to continue:"; \
read line; \
if test $$line != "yes" ; then echo "Giving up submission"; exit; fi; \
curl -F file=@$@-handin.tar.gz -F key=$(KEY) http://ydmao.scripts.mit.edu/6.824/handin.py/upload; \ curl -F file=@$@-handin.tar.gz -F key=$(KEY) http://ydmao.scripts.mit.edu/6.824/handin.py/upload; \
fi; \ fi; \
else \ else \
......
...@@ -52,7 +52,7 @@ type MoveReply struct { ...@@ -52,7 +52,7 @@ type MoveReply struct {
} }
type QueryArgs struct { type QueryArgs struct {
Num int // desired config number Num int // desired config number
} }
type QueryReply struct { type QueryReply struct {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment