On Mon, 2017-05-01 at 15:41 +0200, Axel Beckert wrote: > I'm sorry, but the bugfix for this bug (#861586: stores temporary > files in the current directory) is a change in a single line, no > additions at all: > > -mandir=`mktemp -d dman.XXXXXX` > +mandir=`mktemp --tmpdir="${TMPDIR:-/tmp}" -d dman.XXXXXX`
FYI, you don't need the TMPDIR part: mandir=$(mktemp -d --tmpdir dman.XXXXXX) BTW, whenever writing shell scripts, please run shellcheck on them. It doesn't find every issue but it is a start. More checkers here: https://anonscm.debian.org/cgit/collab-maint/check-all-the-things.git/tree/data/sh -- bye, pabs https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part