From 32eee9d649364f31ade08618fbfde7dffff84a52 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 12 Jul 2024 12:21:34 +0200 Subject: Fix building of xkbdbind MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- xorg-server/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xorg-server') 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; \ -- cgit v1.2.3-70-g09d2