mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-26 01:31:52 -07:00
Fix build-with-cabal.sh when XDG_CONFIG_HOME is defined
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user