messed up mac home variable creation

This commit is contained in:
Bryan Jenks 2020-05-07 13:57:18 -07:00
parent 448648ca84
commit e239411053
1 changed files with 1 additions and 1 deletions

2
flash
View File

@ -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