summaryrefslogtreecommitdiff
path: root/include/vendor.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-09 18:48:58 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-09 18:48:58 +0100
commit2ee186aee3aa3ab9619ed9549bd3b82909dcfbd0 (patch)
tree9b3fdf6f9c27e5d59aa1b0204129942c0a9999e4 /include/vendor.sh
parentc5441bb9f538ca45468db21c1c62f45680349a3d (diff)
minor code cleanup in the build system
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/vendor.sh')
-rwxr-xr-xinclude/vendor.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/vendor.sh b/include/vendor.sh
index 4a0e7ae6..b2fc5346 100755
--- a/include/vendor.sh
+++ b/include/vendor.sh
@@ -131,8 +131,7 @@ mkdirs()
mkdir -p "${1%/*}" || $err "mkdirs: !mkdir -p ${1%/*}"
remkdir "$appdir"
- extract_archive "$_dl" "$appdir" || \
- [ "$2" = "extract_e6400vga" ] || \
+ extract_archive "$_dl" "$appdir" || [ "$2" = "extract_e6400vga" ] || \
$err "mkdirs $1 $2: !extract"; return 0
}