summaryrefslogtreecommitdiff
path: root/resources/scripts/build/descriptors/ich9m
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/build/descriptors/ich9m')
-rwxr-xr-xresources/scripts/build/descriptors/ich9m3
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/scripts/build/descriptors/ich9m b/resources/scripts/build/descriptors/ich9m
index 40d95d42..3bfed53c 100755
--- a/resources/scripts/build/descriptors/ich9m
+++ b/resources/scripts/build/descriptors/ich9m
@@ -29,7 +29,8 @@ main()
err "ich9utils make"
[ ! -f "${ich9gen}" ] && err "ich9gen doesn't exist"
- [ -d "descriptors/ich9m/" ] || mkdir -p "descriptors/ich9m/"
+ [ -d "descriptors/ich9m/" ] || mkdir -p "descriptors/ich9m/" || \
+ err "can't create directory: descriptors/ich9m"
rm -f descriptors/ich9m/* || err "rm-rf"
(