diff options
Diffstat (limited to 'sdrsharp_wrapper')
-rw-r--r-- | sdrsharp_wrapper | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdrsharp_wrapper b/sdrsharp_wrapper index 3497120e37f9..6908ce4c219e 100644 --- a/sdrsharp_wrapper +++ b/sdrsharp_wrapper @@ -6,7 +6,7 @@ _PROGRAM=$(basename "$0") [ "${_PROGRAM}" = "${_PROGRAM,,}" ] && _PROGRAM=$(readlink "$0") [ "${_PROGRAM}" = "sdrsharp_wrapper" ] && (echo "This can't be executed directly"; exit 1) -[ -z "$XDG_CONFIG_HOME" ] && XDG_CONFIG_HOME="$HOME/.config" +[ "${XDG_CONFIG_HOME-default}" == "default" ] && XDG_CONFIG_HOME="$HOME/.config" SDR_CONFIG_HOME="$XDG_CONFIG_HOME/sdrsharp" [ ! -d "$SDR_CONFIG_HOME" ] && mkdir -p "$SDR_CONFIG_HOME" |