Update SigScripts with better jar script
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
5d0dc2c41e
commit
9fcd0384ab
@ -11,6 +11,5 @@ cd ${OUT_DIR}
|
|||||||
jar cfm ${PROJECT_NAME}.jar ${ORIGINAL_LOC}/manifest sig
|
jar cfm ${PROJECT_NAME}.jar ${ORIGINAL_LOC}/manifest sig
|
||||||
printf "\n\n\nRunning Program...\n\n"
|
printf "\n\n\nRunning Program...\n\n"
|
||||||
java -jar ${PROJECT_NAME}.jar "$@"
|
java -jar ${PROJECT_NAME}.jar "$@"
|
||||||
mv ${PROJECT_NAME}.jar ${ORIGINAL_LOC}
|
|
||||||
cd ..
|
cd ..
|
||||||
./${LANGUAGE}/scripts/clean.sh
|
./${LANGUAGE}/scripts/clean.sh
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
build.sh:377a432ffbd63b53322d1451a214201d -
|
build.sh:377a432ffbd63b53322d1451a214201d -
|
||||||
clean.sh:96ce35f2d2dcb555421e00a6afda23ca -
|
clean.sh:96ce35f2d2dcb555421e00a6afda23ca -
|
||||||
commit.sh:b186d649fa17c68926fe1caec4a7216c -
|
commit.sh:b186d649fa17c68926fe1caec4a7216c -
|
||||||
jar.sh:02707b9398a76825f81ba7a71f5f4a34 -
|
jar.sh:cce5e429168700490f9c413b665d13d6 -
|
||||||
|
BIN
bin/JavaProjectTemplate.jar
Normal file
BIN
bin/JavaProjectTemplate.jar
Normal file
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
.coauthors:3785ad38663e5fc43e574914ad067294 -
|
.coauthors:3785ad38663e5fc43e574914ad067294 -
|
||||||
define.sh:74ea08fb12cab1053663f87007ddd29a -
|
define.sh:74ea08fb12cab1053663f87007ddd29a -
|
||||||
main.sh:eacf0984141d284db6681dee4dc39ffa -
|
main.sh:eacf0984141d284db6681dee4dc39ffa -
|
||||||
search.sh:0e54450c506bedf1d73666156fa78e1a -
|
search.sh:7162a8e3487a5cca5a3a24d55230e24d -
|
||||||
.updateDirectories:0ede00461e947494545e694040787b3f -
|
.updateDirectories:0ede00461e947494545e694040787b3f -
|
||||||
|
@ -24,7 +24,7 @@ function check() {
|
|||||||
if [ -f "$1/md5" ];
|
if [ -f "$1/md5" ];
|
||||||
then
|
then
|
||||||
echo " md5: https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1md5"
|
echo " md5: https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1md5"
|
||||||
curl -H 'Cache-Control: no-cache, no-store' -s "https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1md5/?$(date +%s)" --output /tmp/out
|
curl -H 'Cache-Control: no-cache, no-store' -s https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1md5 --output /tmp/out
|
||||||
cmp -s $1/md5 /tmp/out
|
cmp -s $1/md5 /tmp/out
|
||||||
if [ "$?" -ne 0 ]
|
if [ "$?" -ne 0 ]
|
||||||
then
|
then
|
||||||
@ -41,15 +41,15 @@ function check() {
|
|||||||
if [ "$g" != ".coauthors" ]; then
|
if [ "$g" != ".coauthors" ]; then
|
||||||
echo "++Redownload $1$g..."
|
echo "++Redownload $1$g..."
|
||||||
if [ -f "$1$g" ]; then
|
if [ -f "$1$g" ]; then
|
||||||
curl -H 'Cache-Control: no-cache, no-store' "https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1$g/?$(date +%s)" --output $1$g
|
curl -H 'Cache-Control: no-cache, no-store' https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1$g --output $1$g
|
||||||
else
|
else
|
||||||
echo "===Could not find directory, assuming regular scripts directory exists."
|
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/?$(date +%s)" --output $LANGUAGE/scripts/$g
|
curl -H 'Cache-Control: no-cache, no-store' https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1$g --output $LANGUAGE/scripts/$g
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "++==Downloading $1$g..."
|
echo "++==Downloading $1$g..."
|
||||||
curl -H 'Cache-Control: no-cache, no-store' "https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1$g/?$(date +%s)" --output $1$g
|
curl -H 'Cache-Control: no-cache, no-store' https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1$g --output $1$g
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done < /tmp/out
|
done < /tmp/out
|
||||||
|
Loading…
x
Reference in New Issue
Block a user