Skip to content

Commit

Permalink
scripts/download.pl: add output log for copy from local path
Browse files Browse the repository at this point in the history
  • Loading branch information
luxiaok committed Jun 6, 2024
1 parent ca3d0ee commit 27fa4d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/download.pl
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ sub copy_from_local {
if ( -f "$localpath/$filename" ) {
copy("$localpath/$filename", "$target/$filename");
print("Copy from $localpath/$filename\n");
system("echo [`date +'%F %T'`] Copy $filename from $localpath >> $scriptdir/../dl/download.log");
return 1;
}
return 0;
Expand Down

0 comments on commit 27fa4d9

Please sign in to comment.