diff options
author | Matt Turner <mattst88@gentoo.org> | 2020-03-31 20:43:19 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2020-03-31 21:21:03 -0700 |
commit | b28b3ce7a4aca0cd79236133fbe69b8769c0c194 (patch) | |
tree | 49d38f5d02fea417b0284259f295735bb1597588 | |
parent | catalyst: Enable and fix CPU_FLAGS_X86 (diff) | |
download | catalyst-b28b3ce7.tar.gz catalyst-b28b3ce7.tar.bz2 catalyst-b28b3ce7.zip |
targets: Use mkdir -p
Signed-off-by: Matt Turner <mattst88@gentoo.org>
-rwxr-xr-x | targets/support/bootloader-setup.sh | 4 |
1 files changed, 1 insertions, 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 |