summaryrefslogtreecommitdiff
path: root/resources/scripts/handle
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-08-27 12:07:17 +0100
committerLeah Rowe <leah@libreboot.org>2023-08-27 12:07:59 +0100
commit798ce03ae3b5d2decab8f87d1f890d16922bc016 (patch)
tree76c63c6c7b8981c0dcff26f2ff8823184006cbcf /resources/scripts/handle
parent29a8193eb2f5dfc79b9b4baa8db2345dc93f91a5 (diff)
handle/config: add missing error handle
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'resources/scripts/handle')
-rwxr-xr-xresources/scripts/handle/config/file3
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/scripts/handle/config/file b/resources/scripts/handle/config/file
index d8e217ce..89d57cd0 100755
--- a/resources/scripts/handle/config/file
+++ b/resources/scripts/handle/config/file
@@ -122,7 +122,8 @@ handle_defconfig()
handle_dependencies()
{
target_dir="${cfgsdir}/${target}"
- mkdir -p "${elfdir}/${target}"
+ mkdir -p "${elfdir}/${target}" || \
+ fail "handle_dependencies: !mkdir -p ${elfdir}/${target}"
tree="undefined"
arch="undefined"