Update SigScript

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
Nic0Nic0Nii 3 years ago
parent c117ead1f6
commit 39f486af30
  1. 9
      scripts/commit.sh
  2. 1
      scripts/lean.sh
  3. 9
      scripts/md5
  4. 1
      utils/.coauthors
  5. 9
      utils/md5
  6. 13
      utils/search.sh

@ -1,6 +1,13 @@
#Adds a commit message and pushes project to github repository.
#Java
COMMIT_MESSAGE="$*"
while IFS= read -r line
do
COMMIT_MESSAGE+="
Co-authored-by: $line"
done < utils/.coauthors
git add -u
git add *
git commit -m "$*"
git commit -m "$COMMIT_MESSAGE"
git push

@ -0,0 +1 @@
404: Not Found

@ -1,4 +1,5 @@
a833e7598ad65672a9c01306d244b49f -
96ce35f2d2dcb555421e00a6afda23ca -
fe50a24283991ac63984a3afcac1ac41 -
2ac636f584c43a1124affb9ea6bdc7bf -
build.sh:a833e7598ad65672a9c01306d244b49f -
clean.sh:96ce35f2d2dcb555421e00a6afda23ca -
commit.sh:21af1fa6f09d01679c9e11408967264a -
jar.sh:2ac636f584c43a1124affb9ea6bdc7bf -
lean.sh:3be7b8b182ccd96e48989b4e57311193 -

@ -0,0 +1 @@
sigonasr2 <sigonasr2@gmail.com>

@ -1,4 +1,5 @@
d6b20a25a04a60d94f466e48fa60ac69 -
32a1f953ffca8584d1eb57c0ecd8a582 -
13e14229619562047b230081a9e0b4ce -
0ede00461e947494545e694040787b3f -
.coauthors:3785ad38663e5fc43e574914ad067294 -
define.sh:d6b20a25a04a60d94f466e48fa60ac69 -
main.sh:32a1f953ffca8584d1eb57c0ecd8a582 -
search.sh:bcf5ac8c2011672a60341ecd676accff -
.updateDirectories:0ede00461e947494545e694040787b3f -

@ -9,7 +9,8 @@ function search() {
else
echo "$1$g is a file"
if [ $g != "md5" ]; then
md5sum < $1$g >> $1md5
SUM=$(md5sum < $1$g)
echo "$g:$SUM" >> $1md5
else
echo " md5 file, ignoring..."
fi
@ -28,8 +29,11 @@ function check() {
if [ "$DIFF" != "" ]
then
echo " Differences detected!"
for g in $FILES2
while IFS= read -r line
do
IFS=':' read -ra split <<< $line
g="${split[0]}"
if [ "$g" != "md5" ]; then
if [ -f $1$g ];
then
@ -54,9 +58,12 @@ function check() {
echo "===Could not find directory, assuming regular scripts directory exists."
curl -H 'Cache-Control: no-cache, no-store' https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1$g --output scripts/$g
fi
else
echo "++==Downloading $1$g..."
curl -H 'Cache-Control: no-cache, no-store' https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1$g --output $1$g
fi
fi
done
done < /tmp/out
fi
fi
for g in $FILES2

Loading…
Cancel
Save