fix flour weight prompt in interactive mode
This commit is contained in:
parent
5e5ac7d1e4
commit
957fe9468f
1 changed files with 1 additions and 1 deletions
2
pizza.sh
2
pizza.sh
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue