Fix fatal make issue when using XDG_CONFIG_DIRS

This commit is contained in:
Robin B
2018-05-07 10:17:39 +02:00
committed by Robin Broda
parent b83c7cc59e
commit 7b72a28f19

View File

@@ -32,7 +32,7 @@ endif
ifeq ($(INSTALL),unix)
CFLAGS_INSTALL = -DGLAVA_UNIX
ifdef XDG_CONFIG_DIRS
SHADER_DIR = $(firstword $(subst :, ,$XDG_CONFIG_DIR))/glava
SHADER_DIR = $(firstword $(subst :, ,$(XDG_CONFIG_DIRS)))/glava
else
SHADER_DIR = etc/xdg/glava
endif