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 5C0E5138350 for ; Wed, 1 Apr 2020 04:22:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D9E99E0ABA; Wed, 1 Apr 2020 04:22:24 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 91402E0ABA for ; Wed, 1 Apr 2020 04:22:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 659AF34F4F6 for ; Wed, 1 Apr 2020 04:22:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A58FC150 for ; Wed, 1 Apr 2020 04:22:20 +0000 (UTC) From: "Matt Turner" 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 Turner" Message-ID: <1585714863.b28b3ce7a4aca0cd79236133fbe69b8769c0c194.mattst88@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: targets/support/ X-VCS-Repository: proj/catalyst X-VCS-Files: targets/support/bootloader-setup.sh X-VCS-Directories: targets/support/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: b28b3ce7a4aca0cd79236133fbe69b8769c0c194 X-VCS-Branch: master Date: Wed, 1 Apr 2020 04:22:20 +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: 2fd1c090-2a83-490a-86f1-43cefc26f293 X-Archives-Hash: 5bce79e4ba396de977d1f07939d13550 commit: b28b3ce7a4aca0cd79236133fbe69b8769c0c194 Author: Matt Turner gentoo org> AuthorDate: Wed Apr 1 03:43:19 2020 +0000 Commit: Matt Turner gentoo org> CommitDate: Wed Apr 1 04:21:03 2020 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=b28b3ce7 targets: Use mkdir -p Signed-off-by: Matt Turner gentoo.org> targets/support/bootloader-setup.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/targets/support/bootloader-setup.sh b/targets/support/bootloader-setup.sh index 051adc28..154874d5 100755 --- a/targets/support/bootloader-setup.sh +++ b/targets/support/bootloader-setup.sh @@ -291,9 +291,7 @@ case ${clst_hostarch} in # CD image, and then pass these components to the # `sgibootcd` tool which outputs a final CD image scratch="${1}" - [ ! -d "${scratch}/kernels" ] && mkdir ${scratch}/kernels - [ ! -d "${scratch}/kernels/misc" ] && mkdir ${scratch}/kernels/misc - [ ! -d "${scratch}/arcload" ] && mkdir ${scratch}/arcload + mkdir -p mkdir ${scratch}/{kernels/misc,arcload} echo "" > ${scratch}/arc.cf # Move kernel binaries to ${scratch}/kernels, and