From 4ed1101994e54274455012f0b1b77cd93c9e58c7 Mon Sep 17 00:00:00 2001 From: "sigonasr2, Sig, Sigo" Date: Tue, 17 May 2022 19:58:00 +0000 Subject: [PATCH] Updated SigScript and verified build and jar creation tools now work --- JavaProjectTemplate.jar | Bin 8133 -> 8133 bytes utils/define.sh | 2 +- utils/md5 | 4 ++-- utils/search.sh | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/JavaProjectTemplate.jar b/JavaProjectTemplate.jar index 62a9d2c5092a21b534ce20b7f51f30db88342b67..94a1432a3a4fe37eed6dfa6e29c1765f4fe7107b 100644 GIT binary patch delta 154 zcmX?Vf7G5Qz?+#xgn@&DgTZ+IL>_A37iU|yBHHvj-FFY^EZ delta 154 zcmX?Vf7G5Qz?+#xgn@&DgJEsbL>_A37iU|yBHHvl;qG(7+S diff --git a/utils/define.sh b/utils/define.sh index b082051..0926c6c 100755 --- a/utils/define.sh +++ b/utils/define.sh @@ -3,7 +3,7 @@ export VARS=("") function define() { VARS+=("$1") value="${*:2}" - eval "$1"='$value' + eval export "$1"='$value' } if [[ $(pwd) != *"SigScript" ]]; then diff --git a/utils/md5 b/utils/md5 index 61650f1..fa559ce 100644 --- a/utils/md5 +++ b/utils/md5 @@ -1,3 +1,3 @@ -d682bd9df64981bdd93ed1413e96802c - +d6b20a25a04a60d94f466e48fa60ac69 - 548480c89fb8d6668a83ee9e534eb2dd - -2b4cc4fb64d8f08c043cafba41d29473 - +dda3ebea2ba8b958aede5076472d774b - diff --git a/utils/search.sh b/utils/search.sh index 530e7e6..ade830a 100644 --- a/utils/search.sh +++ b/utils/search.sh @@ -23,7 +23,7 @@ function check() { if [ -f "$1/md5" ]; then 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) if [ "$DIFF" != "" ] then @@ -40,19 +40,19 @@ function check() { if [ "${CHECKLINE:0:1}" = "#" ]; then #This could be a different diff, try that one. 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) if [ "$DIFF" != "" ] then 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 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 else 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