From e239411053a09de23377f47a8861aa99e8b301f4 Mon Sep 17 00:00:00 2001 From: Bryan Jenks Date: Thu, 7 May 2020 13:57:18 -0700 Subject: [PATCH] messed up mac home variable creation --- flash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flash b/flash index 679157a..e7a6c5e 100755 --- a/flash +++ b/flash @@ -52,7 +52,7 @@ # Prefer XDG Configuration before hard coded file paths OS="$(uname)" case "$OS" in - "Darwin") DIR="${XDG_DATA_HOME:-HOME/Library/Application Support}/flash" ;; + "Darwin") DIR="${XDG_DATA_HOME:-$HOME/Library/Application Support}/flash" ;; "Linux") DIR="${XDG_DATA_HOME:-$HOME/.local/share}/flash" ;; *) DIR="${XDG_DATA_HOME:-$HOME/.local/share}/flash" ;; esac