Satisfy mktemp filename requirements

According to http://www.gnu.org/software/autogen/mktemp.html doc
the temp filename should contain at least three X characters.
pull/16/head
Luis Rascao 8 years ago
parent 70ce25c899
commit 9eaf6f0d5e

@ -13,6 +13,6 @@ function __delete_line_osx {
function __temp_file_osx {
: "${TMPDIR:=/tmp}"
local filename=$(mktemp -t _gitsecrets_ )
local filename=$(mktemp -t _gitsecrets_XXX )
echo "$filename";
}

Loading…
Cancel
Save