mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-01 20:51: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
|
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
|
||||||
|
Reference in New Issue
Block a user