From 8e790bd6927340263c79ec03070556ca2f7f5cf3 Mon Sep 17 00:00:00 2001 From: Nic0Nic0Nii Date: Thu, 19 May 2022 19:40:54 +0000 Subject: [PATCH] Add filenames to md5s Co-authored-by: sigonasr2 --- Java/scripts/md5 | 4 ++++ scripts/md5 | 1 + utils/md5 | 5 +++++ utils/search.sh | 2 +- 4 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Java/scripts/md5 b/Java/scripts/md5 index e69de29..19c3f9e 100644 --- a/Java/scripts/md5 +++ b/Java/scripts/md5 @@ -0,0 +1,4 @@ +build.sh:a833e7598ad65672a9c01306d244b49f - +clean.sh:96ce35f2d2dcb555421e00a6afda23ca - +commit.sh:21af1fa6f09d01679c9e11408967264a - +jar.sh:2ac636f584c43a1124affb9ea6bdc7bf - diff --git a/scripts/md5 b/scripts/md5 index e69de29..a3951e1 100644 --- a/scripts/md5 +++ b/scripts/md5 @@ -0,0 +1 @@ +commit.sh:e9204d719d138b430b20ce8942cb4c8b - diff --git a/utils/md5 b/utils/md5 index e69de29..72b1ec0 100644 --- a/utils/md5 +++ b/utils/md5 @@ -0,0 +1,5 @@ +.coauthors:3785ad38663e5fc43e574914ad067294 - +define.sh:d6b20a25a04a60d94f466e48fa60ac69 - +main.sh:32a1f953ffca8584d1eb57c0ecd8a582 - +search.sh:96e1cfe7bfb635d9773265f416378f15 - +.updateDirectories:0ede00461e947494545e694040787b3f - diff --git a/utils/search.sh b/utils/search.sh index 931137a..01d126a 100644 --- a/utils/search.sh +++ b/utils/search.sh @@ -10,7 +10,7 @@ function search() { echo "$1$g is a file" if [ $g != "md5" ]; then SUM=$(md5sum < $1$g) - SUM="$g:$SUM" >> $1md5 + echo "$g:$SUM" >> $1md5 else echo " md5 file, ignoring..." fi