Fix script
This commit is contained in:
parent
9a425e827d
commit
33a58c274e
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user