summaryrefslogtreecommitdiff
path: root/include/vendor.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-27 03:18:23 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-27 03:18:23 +0100
commitfac74cd60a3d90e6e0df971b481a55b0a01050c4 (patch)
tree55903b0d83895d9592a93ffb7bdf42d8fb7ffe92 /include/vendor.sh
parent671893a802cb9f7b684037062d0debd1c049addb (diff)
lib.sh: simplified TMPDIR handling
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/vendor.sh')
-rwxr-xr-xinclude/vendor.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vendor.sh b/include/vendor.sh
index 949ffc48..d1a243e3 100755
--- a/include/vendor.sh
+++ b/include/vendor.sh
@@ -41,10 +41,10 @@ getcfg()
[ -z "$vcfg" ] && printf "%s: vcfg unset\n" "$board" 1>&2 && return 1
- check_defconfig "$boarddir" 1>"$tmpdir/vendorcfg.list" && return 1
+ check_defconfig "$boarddir" 1>"$TMPDIR/vendorcfg.list" && return 1
while read -r cbcfgfile; do
set +u +e; . "$cbcfgfile" 2>/dev/null; set -u -e
- done < "$tmpdir/vendorcfg.list"
+ done < "$TMPDIR/vendorcfg.list"
[ -z "$tree" ] && $err "getcfg $boarddir: tree undefined"
cbdir="src/coreboot/$tree"