commit:     4e910d3734eaba7b8467a96a82098b8a7013dbc3
Author:     Christos Kotsi <christo.kotsi <AT> gmail <DOT> com>
AuthorDate: Wed Apr 12 08:43:49 2017 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Mar 31 18:38:20 2020 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=4e910d37

targets: Use mkdir -p

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 targets/support/netboot2-final.sh | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/targets/support/netboot2-final.sh 
b/targets/support/netboot2-final.sh
index ebd51878..e6566a1e 100755
--- a/targets/support/netboot2-final.sh
+++ b/targets/support/netboot2-final.sh
@@ -3,13 +3,11 @@
 source ${clst_shdir}/support/functions.sh
 source ${clst_shdir}/support/filesystem-functions.sh
 
-
 extract_kernels ${clst_target_path}/boot
 
 # Move kernel binaries to ${clst_target_path}/kernels, and
 # move everything else to ${clst_target_path}/kernels/misc
-mkdir ${clst_target_path}/kernels
-mkdir ${clst_target_path}/kernels/misc
+mkdir -p ${clst_target_path}/kernels/misc
 
 for x in ${clst_boot_kernel}; do
        mv ${clst_target_path}/boot/${x} ${clst_target_path}/kernels

Reply via email to