termux-packages/packages/quilt/quilt-scripts-utilfns.patch

14 lines
334 B
Diff
Raw Normal View History

2021-12-15 20:44:23 +01:00
--- a/quilt/scripts/utilfns
+++ b/quilt/scripts/utilfns
@@ -47,8 +47,8 @@
{
if [ "$1" = -d ]
then
- mktemp -d ${2:-${TMPDIR:-/tmp}/quilt.}XXXXXX
+ mktemp -d ${2:-${TMPDIR:-@TERMUX_PREFIX@/tmp}/quilt.}XXXXXX
else
- mktemp ${1:-${TMPDIR:-/tmp}/quilt.}XXXXXX
+ mktemp ${1:-${TMPDIR:-@TERMUX_PREFIX@/tmp}/quilt.}XXXXXX
fi
}