From 9eaf6f0d5e40fc726e515a4749c235c101f021d3 Mon Sep 17 00:00:00 2001 From: Luis Rascao Date: Fri, 13 May 2016 18:47:21 +0100 Subject: [PATCH] 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. --- src/_utils/_git_secret_tools_osx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_utils/_git_secret_tools_osx.sh b/src/_utils/_git_secret_tools_osx.sh index 63f9646a..06aaaa9a 100644 --- a/src/_utils/_git_secret_tools_osx.sh +++ b/src/_utils/_git_secret_tools_osx.sh @@ -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"; }