From 11e3db5dc0171c828471ee07dd8aad652b8a075a Mon Sep 17 00:00:00 2001 From: Michael Kulabuhov Date: Tue, 22 Aug 2017 10:52:03 +0700 Subject: [PATCH 1/2] Fixed touch md5 file path --- tools/stage_file | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/stage_file b/tools/stage_file index 58f1eef425..1b2c666107 100755 --- a/tools/stage_file +++ b/tools/stage_file @@ -90,7 +90,7 @@ function stage_file($path) { if (!$ret) error_exit(" copy failed\n"); if ($verbose) echo " moved file\n"; } - touch("$path.md5"); + touch("$dl_path.md5"); break; case -1: error_exit(" From 5245c03d9a9b971d11e8b7a2e0cc83f83dc7283b Mon Sep 17 00:00:00 2001 From: lfield Date: Wed, 10 Oct 2018 11:32:53 +0200 Subject: [PATCH 2/2] Removed unused variable --- tools/stage_file | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/stage_file b/tools/stage_file index 1b2c666107..20a0897b19 100755 --- a/tools/stage_file +++ b/tools/stage_file @@ -66,7 +66,6 @@ function stage_file($path) { if (!file_exists($path)) error_exit("no such file: $path\n"); $file = basename($path); $dl_path = dir_hier_path($file, $download_dir, $fanout); - $dl_md5_path = "$dl_path.md5"; if ($verbose) { echo "staging $file to $dl_path\n";