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 A9631138334 for ; Mon, 25 Mar 2019 21:29:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8537CE0871; Mon, 25 Mar 2019 21:29:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5B77AE0871 for ; Mon, 25 Mar 2019 21:29:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 16B37335C60 for ; Mon, 25 Mar 2019 21:29:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AEB67520 for ; Mon, 25 Mar 2019 21:29:54 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1553549355.90144963e0f58b4f507ee023809fb7197a047fcd.whissi@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_configkernel.sh X-VCS-Directories: / X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: 90144963e0f58b4f507ee023809fb7197a047fcd X-VCS-Branch: master Date: Mon, 25 Mar 2019 21:29:54 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 73564fb3-e04f-40bf-ba4f-f205c9f7d1aa X-Archives-Hash: 8bb2734318384a31f5169d2c129d7ac2 commit: 90144963e0f58b4f507ee023809fb7197a047fcd Author: Thomas Deutschmann gentoo org> AuthorDate: Mon Mar 25 21:29:15 2019 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Mon Mar 25 21:29:15 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=90144963 determine_config_file(): reformat code Signed-off-by: Thomas Deutschmann gentoo.org> gen_configkernel.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gen_configkernel.sh b/gen_configkernel.sh index 5d4bf23..3b27f6c 100755 --- a/gen_configkernel.sh +++ b/gen_configkernel.sh @@ -24,7 +24,9 @@ determine_config_file() { then gen_die 'Error: No kernel .config specified, or file not found!' fi - KERNEL_CONFIG="$(readlink -f "${KERNEL_CONFIG}")" + + KERNEL_CONFIG="$(readlink -f "${KERNEL_CONFIG}")" + # Validate the symlink result if any if [ ! -f "${KERNEL_CONFIG}" ] then