fix flour weight prompt in interactive mode

This commit is contained in:
ida schmidt 2023-11-26 21:07:24 -07:00
parent 5e5ac7d1e4
commit 957fe9468f

View file

@ -134,7 +134,7 @@ case $1 in # this parses the first argument (and actually calls our main functio
# interactive mode
*)
read -p "Dimentions of pan (in inches): " DIME
if [[ -z "$DINE" ]]; then
if [[ -n "$DIME" ]]; then
if [[ -z "$FSI" ]]; then
DFSI=$(cat "$INSTDIR/pizza.txt" | cat - "$ALTPIZZA" | grep -A 1 "\[$RECIPE:ratios\]" | tail -n -1 | cut -f 2- | xargs) # the fsi retrieved from the recipe may have whitespace preceding it, and we dont want that printed in the brackets, breaking formatting
else