diff -uNr boinc/_autosetup boinc.mod/_autosetup
--- boinc/_autosetup	2022-07-18 18:32:21.000000000 +0800
+++ boinc.mod/_autosetup	2022-09-11 21:07:04.995844110 +0800
@@ -19,7 +19,7 @@
 check_version()
 {
     dir=`pwd`
-    cd /tmp
+    cd "${TMPDIR:-/tmp}"
     foundit=
     ## get current version of $1
     desired=`echo $2 | awk -F. '{print $1*100+$2}'`
