From 9191dd781845039f855a8fce56569992ac327073 Mon Sep 17 00:00:00 2001 From: Nic0Nic0Nii Date: Thu, 19 May 2022 19:22:45 +0000 Subject: [PATCH] Reference the file, not the input of the file --- Java/scripts/commit.sh | 3 +-- Java/scripts/md5 | 2 +- scripts/commit.sh | 3 +-- scripts/md5 | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Java/scripts/commit.sh b/Java/scripts/commit.sh index 7f41e77..0f4ace3 100755 --- a/Java/scripts/commit.sh +++ b/Java/scripts/commit.sh @@ -1,12 +1,11 @@ #Adds a commit message and pushes project to github repository. #Java -AUTHORS=$(cat utils/.coauthors) COMMIT_MESSAGE="$*" while IFS= read -r line do COMMIT_MESSAGE+=" $line" -done < "$AUTHORS" +done < "utils/.coauthors" git add -u git add * git commit -m "$COMMIT_MESSAGE" diff --git a/Java/scripts/md5 b/Java/scripts/md5 index 04f90c0..84d4f96 100644 --- a/Java/scripts/md5 +++ b/Java/scripts/md5 @@ -1,4 +1,4 @@ a833e7598ad65672a9c01306d244b49f - 96ce35f2d2dcb555421e00a6afda23ca - -b3c22857ab8c189247bdf3fdffc30b0a - +d637e0c3776b526171f9709187191c56 - 2ac636f584c43a1124affb9ea6bdc7bf - diff --git a/scripts/commit.sh b/scripts/commit.sh index e51991c..516a6d0 100755 --- a/scripts/commit.sh +++ b/scripts/commit.sh @@ -7,13 +7,12 @@ find . -type f -name md5 -delete #Generate a new hash for every sub-directory, which may require an update. FILES=$(cat utils/.updateDirectories) -AUTHORS=$(cat utils/.coauthors) COMMIT_MESSAGE="$*" while IFS= read -r line do COMMIT_MESSAGE+=" $line" -done < "$AUTHORS" +done < "utils/.coauthors" for f in $FILES do search $f diff --git a/scripts/md5 b/scripts/md5 index 2e6c406..f131c0f 100644 --- a/scripts/md5 +++ b/scripts/md5 @@ -1 +1 @@ -00301b26c41a9f0777b01bb2a2a20cdd - +c44fe5baba40b98541f6199207342645 -