From d1d092c96a8fafbb5673d0892f7cc5dae70b95a1 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Mon, 7 Dec 2020 22:09:34 +0000 Subject: [PATCH] netpbm: fix tmpdir in netpbm-security-scripts.patch --- packages/netpbm/netpbm-security-scripts.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/netpbm/netpbm-security-scripts.patch b/packages/netpbm/netpbm-security-scripts.patch index 0dfe84f43..04852a5d0 100644 --- a/packages/netpbm/netpbm-security-scripts.patch +++ b/packages/netpbm/netpbm-security-scripts.patch @@ -46,7 +46,7 @@ index ba0e818..250fca0 100755 -tempdir="${TMPDIR-/tmp}/pamstretch-gen.$$" -mkdir -m 0700 $tempdir || \ - { echo "Could not create temporary file. Exiting."; exit 1;} -+tempfile=$(mktemp /tmp/pnmig.XXXXXXXXXX) || exit 1 ++tempfile=$(mktemp @TERMUX_PREFIX@/tmp/pnmig.XXXXXXXXXX) || exit 1 trap 'rm -rf $tempdir' 0 1 3 15 tempfile=$tempdir/pnmig