Merge pull request #872 from gabrielsimoes/patch-1

Fix build-with-cabal.sh when XDG_CONFIG_HOME is defined
This commit is contained in:
Tony Zorman 2024-02-12 07:54:46 +01:00 committed by GitHub
commit 1d8305d515
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,8 @@
### Bug Fixes and Minor Changes ### Bug Fixes and Minor Changes
* Fix build-with-cabal.sh when XDG_CONFIG_HOME is defined.
### Other changes ### Other changes
## 0.18.0 (February 3, 20 ## 0.18.0 (February 3, 20

View File

@ -15,7 +15,7 @@ output="$1"
if [ "$SRC_DIR" = "" ]; then if [ "$SRC_DIR" = "" ]; then
# look for the config directory, fall back to the old one # look for the config directory, fall back to the old one
SRC_DIR="${XMONAD_CONFIG_DIR:-${XDG_CONFIG_HOME:-$HOME/.config/xmonad}}" SRC_DIR="${XMONAD_CONFIG_DIR:-${XDG_CONFIG_HOME:-$HOME/.config}/xmonad}"
if test -f "$SRC_DIR/build"; then if test -f "$SRC_DIR/build"; then
: :
else else