Reference the file, not the input of the file

main
Nic0Nic0Nii 3 years ago
parent c297197e54
commit 9191dd7818
  1. 3
      Java/scripts/commit.sh
  2. 2
      Java/scripts/md5
  3. 3
      scripts/commit.sh
  4. 2
      scripts/md5

@ -1,12 +1,11 @@
#Adds a commit message and pushes project to github repository. #Adds a commit message and pushes project to github repository.
#Java #Java
AUTHORS=$(cat utils/.coauthors)
COMMIT_MESSAGE="$*" COMMIT_MESSAGE="$*"
while IFS= read -r line while IFS= read -r line
do do
COMMIT_MESSAGE+=" COMMIT_MESSAGE+="
$line" $line"
done < "$AUTHORS" done < "utils/.coauthors"
git add -u git add -u
git add * git add *
git commit -m "$COMMIT_MESSAGE" git commit -m "$COMMIT_MESSAGE"

@ -1,4 +1,4 @@
a833e7598ad65672a9c01306d244b49f - a833e7598ad65672a9c01306d244b49f -
96ce35f2d2dcb555421e00a6afda23ca - 96ce35f2d2dcb555421e00a6afda23ca -
b3c22857ab8c189247bdf3fdffc30b0a - d637e0c3776b526171f9709187191c56 -
2ac636f584c43a1124affb9ea6bdc7bf - 2ac636f584c43a1124affb9ea6bdc7bf -

@ -7,13 +7,12 @@ find . -type f -name md5 -delete
#Generate a new hash for every sub-directory, which may require an update. #Generate a new hash for every sub-directory, which may require an update.
FILES=$(cat utils/.updateDirectories) FILES=$(cat utils/.updateDirectories)
AUTHORS=$(cat utils/.coauthors)
COMMIT_MESSAGE="$*" COMMIT_MESSAGE="$*"
while IFS= read -r line while IFS= read -r line
do do
COMMIT_MESSAGE+=" COMMIT_MESSAGE+="
$line" $line"
done < "$AUTHORS" done < "utils/.coauthors"
for f in $FILES for f in $FILES
do do
search $f search $f

@ -1 +1 @@
00301b26c41a9f0777b01bb2a2a20cdd - c44fe5baba40b98541f6199207342645 -

Loading…
Cancel
Save