From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C123E139086 for ; Mon, 2 Jan 2017 20:14:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C8DDE0D43; Mon, 2 Jan 2017 20:14:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E1A3CE0D44 for ; Mon, 2 Jan 2017 20:14:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 10D0E34105A for ; Mon, 2 Jan 2017 20:14:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 148FD2616 for ; Mon, 2 Jan 2017 20:14:38 +0000 (UTC) From: "Matt Thode" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Thode" Message-ID: <1483387496.a22f45125393935e2e0a50cdfc303440cdc946d4.prometheanfire@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_compile.sh X-VCS-Directories: / X-VCS-Committer: prometheanfire X-VCS-Committer-Name: Matt Thode X-VCS-Revision: a22f45125393935e2e0a50cdfc303440cdc946d4 X-VCS-Branch: master Date: Mon, 2 Jan 2017 20:14:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9fe88e86-f5ad-4e49-b103-fb96f751f91b X-Archives-Hash: a7bf74c63749de0fe8a22d91e9716824 commit: a22f45125393935e2e0a50cdfc303440cdc946d4 Author: Matthew Thode mthode org> AuthorDate: Mon Jan 2 20:04:56 2017 +0000 Commit: Matt Thode gentoo 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} ||