generated from sigonasr2/CPlusPlusProjectTemplate
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
473 B
26 lines
473 B
1 year ago
|
export VARS=("")
|
||
|
|
||
|
export LANGUAGE=""
|
||
|
|
||
|
function define() {
|
||
|
VARS+=("$1")
|
||
|
value="${*:2}"
|
||
|
eval export "$1"='$value'
|
||
|
}
|
||
|
|
||
|
if [[ $(pwd) != *"SigScript" && $AUTO_UPDATE = "true" && $1 != "update" ]]; then
|
||
|
source utils/search.sh
|
||
|
|
||
|
find . -type f -name md5 -delete
|
||
|
find . -type f -name filelist -delete
|
||
|
|
||
|
#Check for hashes
|
||
|
FILES=$(cat utils/.updateDirectories)
|
||
|
for f in $FILES
|
||
|
do
|
||
|
search $f
|
||
|
check $f
|
||
|
done
|
||
|
else
|
||
|
echo "Dev build, no checks required."
|
||
|
fi
|