In this case it does not hurt to increase bash execution verbosity so we can get more insight in case of issues. Signed-off-by: Leo Sandoval <lsandova@redhat.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
22 lines
348 B
Plaintext
22 lines
348 B
Plaintext
#! @BUILD_SHEBANG@
|
|
set -ex
|
|
|
|
# grub-script-check refuses to pass a file with no commands; this usually
|
|
# indicates a bug in the code generating that file.
|
|
|
|
@builddir@/grub-script-check <<EOF && exit 1
|
|
|
|
EOF
|
|
|
|
@builddir@/grub-script-check <<EOF && exit 1
|
|
# comment
|
|
EOF
|
|
|
|
@builddir@/grub-script-check <<EOF && exit 1
|
|
# comment 1
|
|
# comment 2
|
|
|
|
EOF
|
|
|
|
exit 0
|