termux-packages/packages/boinc/_autosetup.patch

13 lines
467 B
Diff

diff -uNr boinc-client_release-7.18-7.18.1/_autosetup boinc-client_release-7.18-7.18.1.mod/_autosetup
--- boinc-client_release-7.18-7.18.1/_autosetup 2021-08-03 23:52:19.000000000 +0800
+++ boinc-client_release-7.18-7.18.1.mod/_autosetup 2021-12-27 20:03:46.335967627 +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}'`