From 26f1377506c7d3d38e2482d0537c0fb41ad4f081 Mon Sep 17 00:00:00 2001 From: the Sane <3657071+the-sane@users.noreply.github.com> Date: Wed, 9 Feb 2022 16:22:02 -0500 Subject: [PATCH] Fix helper directory paths with spaces --- lug-helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lug-helper.sh b/lug-helper.sh index 46a8e76..7fc4856 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -85,7 +85,7 @@ data_dir="${XDG_DATA_HOME:-$HOME/.local/share}" conf_subdir="starcitizen-lug" # Helper directory -helper_dir="$(realpath "$0" | xargs dirname)" +helper_dir="$(realpath "$0" | xargs -0 dirname)" # Temporary directory tmp_dir="$(mktemp -d --suffix=".lughelper")"