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


parent 32b505ff
......@@ -12,6 +12,9 @@ LABS=" lab1 lab2a lab2b lab3a lab3b lab4a lab4b "
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."; \
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); \
fi; \
else \
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