Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:master commit in: /
Date: Mon, 02 Jan 2017 20:14:41
Message-Id: 1483387496.a22f45125393935e2e0a50cdfc303440cdc946d4.prometheanfire@gentoo
1 commit: a22f45125393935e2e0a50cdfc303440cdc946d4
2 Author: Matthew Thode <mthode <AT> mthode <DOT> org>
3 AuthorDate: Mon Jan 2 20:04:56 2017 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 2 20:04:56 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=a22f4512
7
8 clean up an if statement
9
10 if [ -f "${BUSYBOX_BINCACHE}" ]
11
12 is defined above
13
14 gen_compile.sh | 5 +----
15 1 file changed, 1 insertion(+), 4 deletions(-)
16
17 diff --git a/gen_compile.sh b/gen_compile.sh
18 index 3a77a75..2b63f19 100755
19 --- a/gen_compile.sh
20 +++ b/gen_compile.sh
21 @@ -424,10 +424,7 @@ compile_busybox() {
22 else
23 print_info 1 "busybox: >> Using cache"
24 fi
25 - fi
26 -
27 - if [ ! -f "${BUSYBOX_BINCACHE}" ]
28 - then
29 + else
30 cd "${TEMP}"
31 rm -rf "${BUSYBOX_DIR}" > /dev/null
32 /bin/tar -jxpf ${BUSYBOX_SRCTAR} ||