From 21f4be59763233cb8621fc884c16ce8c4e2ba042 Mon Sep 17 00:00:00 2001 From: debugtalk Date: Thu, 20 Jan 2022 14:21:59 +0800 Subject: [PATCH] fix: mktemp: too few X's in template --- cli/scripts/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/scripts/install.sh b/cli/scripts/install.sh index f074ef38..f404b4fa 100644 --- a/cli/scripts/install.sh +++ b/cli/scripts/install.sh @@ -46,8 +46,8 @@ function main() { echo echoInfo "Created temp dir..." - echo "$ mktemp -d -t hrp" - tmp_dir=$(mktemp -d -t hrp) + echo "$ mktemp -d -t hrp.XXXX" + tmp_dir=$(mktemp -d -t hrp.XXXX) echo "$tmp_dir" cd "$tmp_dir" echo