netpbm: fix tmpdir in netpbm-security-scripts.patch
This commit is contained in:
parent
7897bef6ff
commit
d1d092c96a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user