mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 11:30:22 -07:00
Merge pull request #872 from gabrielsimoes/patch-1
Fix build-with-cabal.sh when XDG_CONFIG_HOME is defined
This commit is contained in:
commit
1d8305d515
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user