From e6dae98c440e88af81ffa424a41495871d1021a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Sim=C3=B5es?= Date: Sun, 11 Feb 2024 21:20:30 -0500 Subject: [PATCH] Fix build-with-cabal.sh when XDG_CONFIG_HOME is defined --- scripts/build/build-with-cabal.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build/build-with-cabal.sh b/scripts/build/build-with-cabal.sh index 713926f1..dac18cf4 100755 --- a/scripts/build/build-with-cabal.sh +++ b/scripts/build/build-with-cabal.sh @@ -15,7 +15,7 @@ output="$1" if [ "$SRC_DIR" = "" ]; then # 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 : else