termux-packages/packages/quilt/quilt-setup.in.patch

12 lines
304 B
Diff
Raw Normal View History

2021-12-15 20:44:23 +01:00
--- a/quilt/setup.in
+++ b/quilt/setup.in
@@ -219,7 +219,7 @@
specdir=$PWD
fi
- tmpdir=$(gen_tempfile -d ${VARTMPDIR:-/var/tmp}/${0##*/})
+ tmpdir=$(gen_tempfile -d ${VARTMPDIR:-@TERMUX_PREFIX@/tmp}/${0##*/})
mkdir -p $tmpdir || exit 1
add_exit_handler "rm -rf $tmpdir"
mkdir -p $tmpdir/bin