missing brace
This commit is contained in:
@@ -67,7 +67,7 @@ while sleep 5; do
|
|||||||
scale=Fahrenheit
|
scale=Fahrenheit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
temperature=$( echo ${receipt} | jq -r .spec.temperature )
|
temperature=$( echo "${receipt}" | jq -r .spec.temperature )
|
||||||
|
|
||||||
preheat_b=$( echo "${receipt}" | jq -r .spec.preheat )
|
preheat_b=$( echo "${receipt}" | jq -r .spec.preheat )
|
||||||
if [ "x${preheat_b}" == "xtrue" ]; then
|
if [ "x${preheat_b}" == "xtrue" ]; then
|
||||||
@@ -107,7 +107,7 @@ while sleep 5; do
|
|||||||
printf "Processing the instructions:\n"
|
printf "Processing the instructions:\n"
|
||||||
i=1
|
i=1
|
||||||
while [ ${i} -lt ${num_steps} ]; do
|
while [ ${i} -lt ${num_steps} ]; do
|
||||||
instruction=$( echo "${receipt}" | jq '.spec.steps[] | select(.order == '${i}') | { instruction | join (" ")' )
|
instruction=$( echo "${receipt}" | jq '.spec.steps[] | select(.order == '${i}') | { instruction } | join (" ")' )
|
||||||
|
|
||||||
printf "Step %i/%i: %s..." ${i} ${num_steps} "${instruction}"
|
printf "Step %i/%i: %s..." ${i} ${num_steps} "${instruction}"
|
||||||
sleep $(( ${RANDOM} % 6 + 1 ))
|
sleep $(( ${RANDOM} % 6 + 1 ))
|
||||||
|
|||||||
Reference in New Issue
Block a user