You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
456 B

diff -uNr gzip-1.10/zgrep.in gzip-1.10.mod/zgrep.in
--- gzip-1.10/zgrep.in 2018-03-31 06:55:32.000000000 +0300
+++ gzip-1.10.mod/zgrep.in 2019-03-01 18:41:31.001645453 +0200
@@ -136,7 +136,7 @@
case $TMPDIR in
/ | /*/) ;;
/*) TMPDIR=$TMPDIR/;;
- *) TMPDIR=/tmp/;;
+ *) TMPDIR=@TERMUX_PREFIX@/tmp/;;
esac
if type mktemp >/dev/null 2>&1; then
pattmp=$(mktemp "${TMPDIR}zgrepXXXXXXXXX") || exit 2