summaryrefslogtreecommitdiff
path: root/include/vendor.sh
diff options
context:
space:
mode:
Diffstat (limited to 'include/vendor.sh')
-rw-r--r--include/vendor.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vendor.sh b/include/vendor.sh
index 5e1c77ff..f7dce827 100644
--- a/include/vendor.sh
+++ b/include/vendor.sh
@@ -256,7 +256,7 @@ getvfile()
{
eval "`setcfg "config/vendor/$vcfg/pkg.cfg" 1`"
bootstrap && [ $# -gt 0 ] && getfiles && return 0 # download
- fx_ prep x_ find "$tdir" -maxdepth 1 -type f -name "*.rom"
+ fx_ prep x_ find "$tmpromdir" -maxdepth 1 -type f -name "*.rom"
( check_vendor_hashes ) || err "$archive: Can't verify hashes"; :
}
@@ -390,7 +390,7 @@ vfile()
check_vendor_hashes()
{
- x_ cd "$tdir"
+ x_ cd "$tmpromdir"
[ "$has_hashes" = "n" ] || [ "$nuke" = "nuke" ] || sha512sum \
--status -c "$hashfile" || x_ sha1sum --status -c "$hashfile"
x_ rm -f "$hashfile"