1
0
forked from filipg/djfz-2019

Fix script

This commit is contained in:
Filip Gralinski 2019-10-19 20:36:51 +02:00
parent 9a425e827d
commit 33a58c274e

View File

@ -139,7 +139,7 @@ sub check_deadline {
for my $file (glob "$task_id/*") { for my $file (glob "$task_id/*") {
if ($file !~ m{\.(in|arg|out|exp|\~)$|/(description\.txt|run)$}) { if ($file !~ m{\.(in|arg|out|exp|\~)$|/(description\.txt|run)$}) {
my $last_timestamp = `(cd ../daut-2018-s$student_id ; git log -1 --format=\%cd --date=iso $file 2> /dev/null)`; my $last_timestamp = `(cd ../djfz-2019-s$student_id ; git log -1 --format=\%cd --date=iso $file 2> /dev/null)`;
if ($last_timestamp =~ m{\S}) { if ($last_timestamp =~ m{\S}) {
chomp $last_timestamp; chomp $last_timestamp;