%= erb :header %> <% unless @error_data.nil? %>
Шаблон скрипта:
#!/bin/bash RESULT="$1" if [ -z "$RESULT" ]; then exit 1 fi build command cp -r [dir_with_results]/*.* "${RESULT}/"