From c1fdcfd5750c4b4cad28ecd86f1e72be22c50494 Mon Sep 17 00:00:00 2001 From: ka Date: Fri, 27 Jan 2017 20:47:55 +0900 Subject: [PATCH 1/3] Add 3 Xs (XXX) to the mktemp command argument MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To fix the following error: mktemp: too few X's in template ‘codesigndoc’ --- _scripts/install_wrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_scripts/install_wrap.sh b/_scripts/install_wrap.sh index 1554aebc..ced79484 100644 --- a/_scripts/install_wrap.sh +++ b/_scripts/install_wrap.sh @@ -2,7 +2,7 @@ set -e echo " => Creating a temporary directory for codesigndoc ..." -temp_dir="$(mktemp -d -t codesigndoc)" +temp_dir="$(mktemp -d -t codesigndocXXX)" codesigndoc_bin_path="${temp_dir}/codesigndoc" version_to_use="0.9.18" From b3cde83fbf92976c61b13127879c845f52613055 Mon Sep 17 00:00:00 2001 From: ka Date: Fri, 27 Jan 2017 23:07:05 +0900 Subject: [PATCH 2/3] Revert "Add 3 Xs (XXX) to the mktemp command argument" This reverts commit c1fdcfd5750c4b4cad28ecd86f1e72be22c50494. --- _scripts/install_wrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_scripts/install_wrap.sh b/_scripts/install_wrap.sh index ced79484..1554aebc 100644 --- a/_scripts/install_wrap.sh +++ b/_scripts/install_wrap.sh @@ -2,7 +2,7 @@ set -e echo " => Creating a temporary directory for codesigndoc ..." -temp_dir="$(mktemp -d -t codesigndocXXX)" +temp_dir="$(mktemp -d -t codesigndoc)" codesigndoc_bin_path="${temp_dir}/codesigndoc" version_to_use="0.9.18" From 17bbf8db3e4fb4301dee2afb3bae2435930df5b2 Mon Sep 17 00:00:00 2001 From: ka Date: Fri, 27 Jan 2017 23:09:20 +0900 Subject: [PATCH 3/3] Add 6 Xs to the mktemp command in _scripts/install_wrap.sh.template --- _scripts/install_wrap.sh.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_scripts/install_wrap.sh.template b/_scripts/install_wrap.sh.template index b189db38..129978d7 100644 --- a/_scripts/install_wrap.sh.template +++ b/_scripts/install_wrap.sh.template @@ -2,7 +2,7 @@ set -e echo " => Creating a temporary directory for codesigndoc ..." -temp_dir="$(mktemp -d -t codesigndoc)" +temp_dir="$(mktemp -d -t codesigndocXXXXXX)" codesigndoc_bin_path="${temp_dir}/codesigndoc" version_to_use="{{version}}"