From 7b02bb9aa6e533f30f25133caf9d214ca3d5bda2 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 2 Oct 2023 03:39:10 +0100 Subject: do not handle errors on mktemp in shell scripts errors are not defined for mktemp, and the /tmp file system should be assumed reliable. if /tmp is *unreliable*, then this is not something that lbmk either can or should fix; the user clearly has bigger problems. manpages for mktemp do not define errors. it is assumed to be completely reliable. Signed-off-by: Leah Rowe --- script/handle/make/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/handle/make') diff --git a/script/handle/make/config b/script/handle/make/config index d7d11bf1..8795c3ba 100755 --- a/script/handle/make/config +++ b/script/handle/make/config @@ -18,7 +18,7 @@ export LOCALVERSION="-${projectname}-${our_version}" eval "$(setvars "" arch cfgsdir codedir config config_name crossgcc_ada mode \ elfdir listfile project romtype target target_dir targets tree cbfstool)" -tmpclean="$(mktemp -d -t makeclean.XXXXXXXXXX)" || fail "!mkdir tmpclean" +tmpclean="$(mktemp -d -t makeclean.XXXXXXXXXX)" main() { -- cgit v1.2.1