summaryrefslogtreecommitdiff
path: root/script/vendor/inject
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-12-22 09:46:43 +0000
committerLeah Rowe <leah@libreboot.org>2023-12-22 10:24:00 +0000
commitab65ea4c99af4f5569496c58b604ada612a2469a (patch)
tree6feb004f23060a471653ad6d1820de6eea91d878 /script/vendor/inject
parentfa25414bab5ca9e487bd265f0709e90e41769c69 (diff)
general code cleanup
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/vendor/inject')
-rwxr-xr-xscript/vendor/inject3
1 files changed, 1 insertions, 2 deletions
diff --git a/script/vendor/inject b/script/vendor/inject
index e740704a..7ae4fc02 100755
--- a/script/vendor/inject
+++ b/script/vendor/inject
@@ -114,8 +114,7 @@ inject_vendorfiles()
patch_release_roms()
{
_tmpdir="tmp/romdir"
- x_ rm -Rf "${_tmpdir}"
- x_ mkdir -p "${_tmpdir}"
+ remkdir "${_tmpdir}"
tar -xf "${archive}" -C "${_tmpdir}" || \
err "patch_release_roms: !tar -xf \"${archive}\" -C \"${_tmpdir}\""