1 |
commit: b28b3ce7a4aca0cd79236133fbe69b8769c0c194 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 1 03:43:19 2020 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 1 04:21:03 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=b28b3ce7 |
7 |
|
8 |
targets: Use mkdir -p |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
targets/support/bootloader-setup.sh | 4 +--- |
13 |
1 file changed, 1 insertion(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/targets/support/bootloader-setup.sh b/targets/support/bootloader-setup.sh |
16 |
index 051adc28..154874d5 100755 |
17 |
--- a/targets/support/bootloader-setup.sh |
18 |
+++ b/targets/support/bootloader-setup.sh |
19 |
@@ -291,9 +291,7 @@ case ${clst_hostarch} in |
20 |
# CD image, and then pass these components to the |
21 |
# `sgibootcd` tool which outputs a final CD image |
22 |
scratch="${1}" |
23 |
- [ ! -d "${scratch}/kernels" ] && mkdir ${scratch}/kernels |
24 |
- [ ! -d "${scratch}/kernels/misc" ] && mkdir ${scratch}/kernels/misc |
25 |
- [ ! -d "${scratch}/arcload" ] && mkdir ${scratch}/arcload |
26 |
+ mkdir -p mkdir ${scratch}/{kernels/misc,arcload} |
27 |
echo "" > ${scratch}/arc.cf |
28 |
|
29 |
# Move kernel binaries to ${scratch}/kernels, and |