diff options
-rw-r--r-- | xorg-server/Makefile | 2 |
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; \ |