Skip to content

Commit

Permalink
hotifx: fix makeifle crash when () was in commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
gucio321 committed Jan 21, 2024
1 parent bab59ac commit 1046807
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,5 @@ modify-date:
$(eval CURRENT_GIT_COMMIT_ID := $(shell git rev-parse HEAD))
$(eval CURRENT_GIT_COMMIT_NAME := $(shell git log -1 --format=%s))
$(eval CURRENT_GIT_COMMIT_NAME_ESCAPED := $(shell echo "$(CURRENT_GIT_COMMIT_NAME)" |sed 's/[&/\]/\\&/g' ))
echo $(CURRENT_GIT_COMMIT_NAME)
echo $(CURRENT_GIT_COMMIT_NAME_ESCAPED)
$(eval CURRENT_GIT_COMMIT_DATE := $(shell git log -1 --format=%ad))
echo "<a href="https:\/\/github.com\/gucio321\/matematyka\/commit\/$(CURRENT_GIT_COMMIT_ID)">$(CURRENT_GIT_COMMIT_DATE) ${CURRENT_GIT_COMMIT_NAME_ESCAPED} ($(CURRENT_GIT_COMMIT_ID))</a>" > _templates/modification.html

0 comments on commit 1046807

Please sign in to comment.