summaryrefslogtreecommitdiff
path: root/include/vendor.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-28 14:14:38 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-28 14:15:28 +0100
commit8196ce6ddf4f0c2320cbb0f8ea378dfff0d639c4 (patch)
tree46d32bb7a2c3891c642ddea5b28a3c34bbcc986b /include/vendor.sh
parent8f50131e1e3ca4acd2e8e1d2a167ae48a2a4c75b (diff)
vendor.sh: remove unnecessary check
mktemp will never return empty output, and the next command after it is an mkdir, which would throw an error anyway, if the string is empty. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/vendor.sh')
-rwxr-xr-xinclude/vendor.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/vendor.sh b/include/vendor.sh
index 7154b7ea..6faec9ab 100755
--- a/include/vendor.sh
+++ b/include/vendor.sh
@@ -129,7 +129,6 @@ 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