remove useless variable cleanup

This commit is contained in:
ida schmidt 2024-06-19 16:59:37 -07:00
parent fdfff22ae0
commit bad7aba7ee

View file

@ -85,17 +85,6 @@ function arraytio { # im funny portmantaus are never bad
MEASURE[$INDEX]=$(echo "scale = 2; ($RATIO*$SIZE)/1" | bc -l) # we have to divide by 1 to actually apply the scale
echo ${INGREDIENT[$INDEX]}: ${MEASURE[$INDEX]}g # actually print the calculated number with label for each INDEX
done
# cleanup
unset INDEX
unset RATIO
unset SIZE
unset FSI
unset AREA
unset WIDTH
unset LENGTH
unset SQUAREPAN
unset DFSI
}
case $1 in # this parses the first argument (and actually calls our main functions), the units need to be removed before bc will accept it