Fix helper directory paths with spaces

This commit is contained in:
the Sane
2022-02-09 16:22:02 -05:00
committed by GitHub
parent b71f601547
commit 26f1377506

View File

@@ -85,7 +85,7 @@ data_dir="${XDG_DATA_HOME:-$HOME/.local/share}"
conf_subdir="starcitizen-lug" conf_subdir="starcitizen-lug"
# Helper directory # Helper directory
helper_dir="$(realpath "$0" | xargs dirname)" helper_dir="$(realpath "$0" | xargs -0 dirname)"
# Temporary directory # Temporary directory
tmp_dir="$(mktemp -d --suffix=".lughelper")" tmp_dir="$(mktemp -d --suffix=".lughelper")"