From 35fd12b67205338e094bd7a9a2d8d3f78489c880 Mon Sep 17 00:00:00 2001 From: the-sane <3657071+the-sane@users.noreply.github.com> Date: Fri, 15 Jan 2021 19:33:10 -0500 Subject: [PATCH] Add mktemp suffix and fallback --- lug-helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lug-helper.sh b/lug-helper.sh index 608e2a8..ba412d6 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -57,7 +57,7 @@ fi # .config subdirectory conf_subdir="starcitizen-lug" -tmp_dir="$(mktemp -d)" +tmp_dir="$(mktemp -d --suffix=".lughelper" || echo "/tmp")" # The game's user subdirectory name user_subdir_name="USER"