0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-04 18:45:52 +00:00
termux-packages/packages/vim/vimtutor.patch

14 lines
380 B
Diff

diff --git a/src/vimtutor b/src/vimtutor
index 409c10c04..b6f7b918a 100755
--- a/src/vimtutor
+++ b/src/vimtutor
@@ -157,7 +157,7 @@ done
# We need a temp file for the copy. First try using a standard command.
-tmp="${TMPDIR-/tmp}"
+tmp="${TMPDIR-@TERMUX_PREFIX@/tmp}"
# shellcheck disable=SC2186
TUTORCOPY=$(mktemp "$tmp/tutorXXXXXX" || tempfile -p tutor || echo none)