grub_script_no_commands.in 347 B

12345678910111213141516171819202122
  1. #! @BUILD_SHEBANG@
  2. set -e
  3. # grub-script-check refuses to pass a file with no commands; this usually
  4. # indicates a bug in the code generating that file.
  5. @builddir@/grub-script-check <<EOF && exit 1
  6. EOF
  7. @builddir@/grub-script-check <<EOF && exit 1
  8. # comment
  9. EOF
  10. @builddir@/grub-script-check <<EOF && exit 1
  11. # comment 1
  12. # comment 2
  13. EOF
  14. exit 0