From 2e01232afdf0109aa6d94510bca03ada089a6850 Mon Sep 17 00:00:00 2001 From: salman Date: Sat, 26 Sep 2026 16:38:35 +0200 Subject: [PATCH] Exclude the archive lock marker from the downloaded results archive --- singleTrimSP.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/singleTrimSP.cgi b/singleTrimSP.cgi index 35bb3ca..c223bad 100644 --- a/singleTrimSP.cgi +++ b/singleTrimSP.cgi @@ -459,7 +459,8 @@ if ($filename =~ /_Seq_Results\.dat$/) { if ($ok) { my $command = "tar -czf " . shell_quote($archive_path) . " -C " . shell_quote($work_path) - . " . >> " . shell_quote($logfile) . " 2>&1"; + . " --exclude=./.trimsp-lock . " + . ">> " . shell_quote($logfile) . " 2>&1"; append_log($logfile, "\n[archive] \$ $command\n"); my $result = run_bounded_command($command); ($exit_code, my $completion) = describe_result($result);