summaryrefslogtreecommitdiff
path: root/script/handle/make/config
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-10-02 03:39:10 +0100
committerLeah Rowe <leah@libreboot.org>2023-10-02 03:39:10 +0100
commit7b02bb9aa6e533f30f25133caf9d214ca3d5bda2 (patch)
tree48c632f092a56050308a9478379311b66048c9d5 /script/handle/make/config
parent8c03b886c4d4b9bcfb1cb30b3704b8af561c2f45 (diff)
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 <leah@libreboot.org>
Diffstat (limited to 'script/handle/make/config')
-rwxr-xr-xscript/handle/make/config2
1 files changed, 1 insertions, 1 deletions
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()
{