Commit 9a2eafab authored by Matteo Melli's avatar Matteo Melli
Browse files

Fixed display of script content

parent 48567d6e
Pipeline #88492 passed with stage
in 15 seconds
......@@ -93,15 +93,16 @@ function do_menu(){
esac
if [ ! -z "$step" ]
then
script="$(step_script "$step")"
echo "Step $step will be executed:"
echo
type "$step" | head -n -1 | tail -n +4
type "$script" | head -n -1 | tail -n +4
echo
read -s -N 1 -p "Press [y] to continue, any other key to abort." key
if [ "$key" == "y" ]
then
next_step="$(printf "%03d" "$(($(step_number "$step")+1))")"
do_step "$(step_script "$step")"
do_step "$script"
fi
echo
step=
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment