aboutsummaryrefslogtreecommitdiffstats
path: root/xorg-server/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/Makefile')
-rw-r--r--xorg-server/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/Makefile b/xorg-server/Makefile
index a4b433b..07d0105 100644
--- a/xorg-server/Makefile
+++ b/xorg-server/Makefile
@@ -23,7 +23,7 @@ install:
ln -sf -- ~/.dotfiles/xorg-server/setkeys ~/.local/bin/setkeys
if test -d xkbdbind; then \
if test -d xkbdbind/.git; then \
- if ! git log '--format=format:%H' | grep '^$(XKBDBIND_GIT_HASH)$$' >/dev/null; then \
+ if ! (cd -- xkbdbind && git log '--format=format:%H') | grep '^$(XKBDBIND_GIT_HASH)$$' >/dev/null; then \
(cd -- xkbdbind && git pull) || :; \
fi; \
fi; \