commit: a22f45125393935e2e0a50cdfc303440cdc946d4
Author: Matthew Thode <mthode <AT> mthode <DOT> org>
AuthorDate: Mon Jan 2 20:04:56 2017 +0000
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Mon Jan 2 20:04:56 2017 +0000
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=a22f4512
clean up an if statement
if [ -f "${BUSYBOX_BINCACHE}" ]
is defined above
gen_compile.sh | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/gen_compile.sh b/gen_compile.sh
index 3a77a75..2b63f19 100755
--- a/gen_compile.sh
+++ b/gen_compile.sh
@@ -424,10 +424,7 @@ compile_busybox() {
else
print_info 1 "busybox: >> Using cache"
fi
- fi
-
- if [ ! -f "${BUSYBOX_BINCACHE}" ]
- then
+ else
cd "${TEMP}"
rm -rf "${BUSYBOX_DIR}" > /dev/null
/bin/tar -jxpf ${BUSYBOX_SRCTAR} ||