summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2017-12-14 15:53:25 +0100
committerThomas Deutschmann <whissi@gentoo.org>2017-12-14 15:53:37 +0100
commitf2acf983ac1f7db57e63f07e9e2efac1a88be5f3 (patch)
treec58f26496896e5ac043ebaaaee78895afb3a47e0 /sys-boot
parentapp-vim/jedi: enable python3_5. (diff)
downloadgentoo-f2acf983ac1f7db57e63f07e9e2efac1a88be5f3.tar.gz
gentoo-f2acf983ac1f7db57e63f07e9e2efac1a88be5f3.tar.bz2
gentoo-f2acf983ac1f7db57e63f07e9e2efac1a88be5f3.zip
sys-boot/grub: Adjust sanity check message
Package-Manager: Portage-2.3.18, Repoman-2.3.6
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/grub/grub-0.97-r18.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-boot/grub/grub-0.97-r18.ebuild b/sys-boot/grub/grub-0.97-r18.ebuild
index a45c190509a4..eb8206061434 100644
--- a/sys-boot/grub/grub-0.97-r18.ebuild
+++ b/sys-boot/grub/grub-0.97-r18.ebuild
@@ -172,13 +172,13 @@ src_test() {
}
src_install() {
- _stage2_file="${S}/stage2/stage2"
+ local _stage2_file="${S}/stage2/stage2"
if [[ -f "${_stage2_file}" ]]; then
local _stage2_filesize=$(stat -c '%s' "${_stage2_file}" 2>/dev/null)
if [[ -z "${_stage2_filesize}" ]]; then
ewarn "Sanity check skipped -- 'stat' returned nothing"
elif [[ "${_stage2_filesize}" -gt 1000000 ]]; then
- eerror "Sanity check failed: stage2 (${_stage2_file}) is more than 1MB large (${_stage2_filesize} bytes)!"
+ eerror "Sanity check failed: stage2 (${_stage2_file}) is larger than 1MB (${_stage2_filesize} bytes)!"
eerror "Please check your CFLAGS and/or file a bug report at https://bugs.gentoo.org."
die "stage2 sanity check failed"
else