Skip to content

Commit

Permalink
Escape colons in pre-commit dependency [ci skip]
Browse files Browse the repository at this point in the history
Colons are special in Makefiles.
  • Loading branch information
nobu committed Apr 16, 2024
1 parent f8f542b commit 53a8ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion defs/gmake.mk
Expand Up @@ -193,7 +193,7 @@ $(SCRIPTBINDIR):
$(Q) mkdir $@

.PHONY: commit
COMMIT_PREPARE := $(filter-out commit do-commit,$(MAKECMDGOALS)) up
COMMIT_PREPARE := $(subst :,\:,$(filter-out commit do-commit,$(MAKECMDGOALS))) up

commit: pre-commit $(DOT_WAIT) do-commit $(DOT_WAIT) post_commit
pre-commit: $(COMMIT_PREPARE)
Expand Down

0 comments on commit 53a8ad1

Please sign in to comment.