Unverified Commit 996bbd08 authored by Darko Poljak's avatar Darko Poljak Committed by GitHub

Merge pull request #740 from silasdb/master

Use portable -p instead of --tmpdir for mktemp
parents 825a47b3 28e2b058
......@@ -63,7 +63,7 @@ fetch_file() {
fetch_and_prepare_file() {
# shellcheck disable=SC2016
printf 'tmpdir="$(mktemp -d --tmpdir="/tmp" "%s")"\n' "${__type##*/}.XXXXXXXXXX"
printf 'tmpdir="$(mktemp -d -p "/tmp" "%s")"\n' "${__type##*/}.XXXXXXXXXX"
# shellcheck disable=SC2016
printf 'cd "$tmpdir"\n'
# shellcheck disable=SC2059
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment