Updated SigScript and verified build and jar creation tools now work
This commit is contained in:
parent
7ade6e3509
commit
4ed1101994
Binary file not shown.
@ -3,7 +3,7 @@ export VARS=("")
|
|||||||
function define() {
|
function define() {
|
||||||
VARS+=("$1")
|
VARS+=("$1")
|
||||||
value="${*:2}"
|
value="${*:2}"
|
||||||
eval "$1"='$value'
|
eval export "$1"='$value'
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ $(pwd) != *"SigScript" ]]; then
|
if [[ $(pwd) != *"SigScript" ]]; then
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
d682bd9df64981bdd93ed1413e96802c -
|
d6b20a25a04a60d94f466e48fa60ac69 -
|
||||||
548480c89fb8d6668a83ee9e534eb2dd -
|
548480c89fb8d6668a83ee9e534eb2dd -
|
||||||
2b4cc4fb64d8f08c043cafba41d29473 -
|
dda3ebea2ba8b958aede5076472d774b -
|
||||||
|
@ -23,7 +23,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 -s https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1md5 --output /tmp/out
|
curl -H 'Cache-Control: no-cache, no-store' -s https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1md5 --output /tmp/out
|
||||||
DIFF=$(diff $1/md5 /tmp/out)
|
DIFF=$(diff $1/md5 /tmp/out)
|
||||||
if [ "$DIFF" != "" ]
|
if [ "$DIFF" != "" ]
|
||||||
then
|
then
|
||||||
@ -40,19 +40,19 @@ function check() {
|
|||||||
if [ "${CHECKLINE:0:1}" = "#" ]; then
|
if [ "${CHECKLINE:0:1}" = "#" ]; then
|
||||||
#This could be a different diff, try that one.
|
#This could be a different diff, try that one.
|
||||||
echo " md5: https://raw.githubusercontent.com/sigonasr2/SigScript/main/${CHECKLINE:1}/$1md5"
|
echo " md5: https://raw.githubusercontent.com/sigonasr2/SigScript/main/${CHECKLINE:1}/$1md5"
|
||||||
curl -s https://raw.githubusercontent.com/sigonasr2/SigScript/main/${CHECKLINE:1}/$1md5 --output /tmp/out
|
curl -H 'Cache-Control: no-cache, no-store' -s https://raw.githubusercontent.com/sigonasr2/SigScript/main/${CHECKLINE:1}/$1md5 --output /tmp/out
|
||||||
DIFF=$(diff $1/md5 /tmp/out)
|
DIFF=$(diff $1/md5 /tmp/out)
|
||||||
if [ "$DIFF" != "" ]
|
if [ "$DIFF" != "" ]
|
||||||
then
|
then
|
||||||
echo " Differences detected here too."
|
echo " Differences detected here too."
|
||||||
curl https://raw.githubusercontent.com/sigonasr2/SigScript/main/${CHECKLINE:1}/$1$g --output $1$g
|
curl -H 'Cache-Control: no-cache, no-store' https://raw.githubusercontent.com/sigonasr2/SigScript/main/${CHECKLINE:1}/$1$g --output $1$g
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
curl https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1$g --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
|
||||||
else
|
else
|
||||||
echo "===Could not find directory, assuming regular scripts directory exists."
|
echo "===Could not find directory, assuming regular scripts directory exists."
|
||||||
curl https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1$g --output scripts/$g
|
curl -H 'Cache-Control: no-cache, no-store' https://raw.githubusercontent.com/sigonasr2/SigScript/main/$1$g --output scripts/$g
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user