termux-packages/packages/boinc/_autosetup.patch

12 lines
227 B
Diff

--- a/_autosetup
+++ b/_autosetup
@@ -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}'`