summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-28 15:24:42 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-28 15:24:42 +0100
commit2eb0163cc78e61f424f26798b3416d371e0818d0 (patch)
tree3c3b2d3c8bcf8514311541f82a5d392414809ee9
parent3f37c3788b62cfaf6f2f94ac733651c67f438f44 (diff)
Revert "vendor.sh: remove unnecessary check"
This reverts commit 8196ce6ddf4f0c2320cbb0f8ea378dfff0d639c4.
-rwxr-xr-xinclude/vendor.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vendor.sh b/include/vendor.sh
index f583f352..54d1750a 100755
--- a/include/vendor.sh
+++ b/include/vendor.sh
@@ -128,6 +128,7 @@ extract_intel_me()
e "$_me" f && return 0
sdir="$(mktemp -d)"
+ [ -z "$sdir" ] && return 0
mkdir -p "$sdir" || $err "extract_intel_me: !mkdir -p \"$sdir\""
set +u +e