make_mapdef.sh: small caching fix for when you deal with larger mapdefs and multiple invalid entries.

This commit is contained in:
Marco Cawthorne 2023-05-27 16:23:28 -07:00
parent dbe394fa28
commit 3bbeea3343
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 7 additions and 0 deletions

View File

@ -61,6 +61,13 @@ do
KEY_MAXS=$(cat "/tmp/def_maxs")
KEY_USAGE=$(cat "/tmp/def_usage")
KEY_MODEL=$(cat "/tmp/def_model")
printf -- "" > "/tmp/def_name"
printf -- "" > "/tmp/def_color"
printf -- "" > "/tmp/def_mins"
printf -- "" > "/tmp/def_mins"
printf -- "" > "/tmp/def_maxs"
printf -- "" > "/tmp/def_usage"
printf -- "" > "/tmp/def_model"
if [ -z "$KEY_NAME" ]
then