Gentoo Archives: gentoo-commits

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:master commit in: /
Date: Tue, 01 May 2012 19:45:06
Message-Id: 1335301350.b882252bebf51bfe343106a1634fda333ea6d84b.robbat2@gentoo
1 commit: b882252bebf51bfe343106a1634fda333ea6d84b
2 Author: Richard Yao <ryao <AT> cs <DOT> stonybrook <DOT> edu>
3 AuthorDate: Tue Apr 24 05:51:33 2012 +0000
4 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 24 21:02:30 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=b882252b
7
8 Fix indentation in set_bootloader_grub2()
9
10 ---
11 gen_bootloader.sh | 10 +++++-----
12 1 files changed, 5 insertions(+), 5 deletions(-)
13
14 diff --git a/gen_bootloader.sh b/gen_bootloader.sh
15 index 5c05e64..f0273db 100755
16 --- a/gen_bootloader.sh
17 +++ b/gen_bootloader.sh
18 @@ -32,7 +32,7 @@ set_bootloader_grub_read_device_map() {
19 }
20
21 set_bootloader_grub2() {
22 - local GRUB_CONF
23 + local GRUB_CONF
24 for candidate in \
25 "${BOOTDIR}/grub2/grub.cfg" \
26 "${BOOTDIR}/grub/grub.cfg" \
27 @@ -46,11 +46,11 @@ set_bootloader_grub2() {
28 if [[ -z "${GRUB_CONF}" ]]; then
29 print_error 1 "Error! Grub2 configuration file does not exist, please ensure grub2 is correctly setup first."
30 return 0
31 - fi
32 + fi
33
34 - print_info 1 "You can customize Grub2 parameters in /etc/default/grub."
35 - print_info 1 "Running grub2-mkconfig to create ${GRUB_CONF}..."
36 - grub2-mkconfig -o "${GRUB_CONF}"
37 + print_info 1 "You can customize Grub2 parameters in /etc/default/grub."
38 + print_info 1 "Running grub2-mkconfig to create ${GRUB_CONF}..."
39 + grub2-mkconfig -o "${GRUB_CONF}"
40 }
41
42 set_bootloader_grub() {