On Wed, Apr 29, 2020 at 08:04:21PM -0700, Michael Greenberg wrote: > The mktokens script fails when /tmp isn't writable (e.g., when building > in a sandbox with a different TMPDIR). Replace absolute references to > /tmp to relative references to TMPDIR. If TMPDIR is unset or null, > default to /tmp. > > The mkbuiltins script was already hardened to work relative to TMPDIR, > also defaulting to /tmp. > > v2 ensures that TMPDIR is quoted. > v3 adds an extra quotation that prevents extra pathname expansions. > > Signed-off-by: Michael Greenberg <michael.greenberg@xxxxxxxxxx> Patch applied. Thanks. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt