Skip to content

Commit

Permalink
Fix make/readme when github_repo has quotes (#376)
Browse files Browse the repository at this point in the history
* delete quotes from yaml

* Update .gitignore

* remove escape, not needed and breaks it

---------

Co-authored-by: Nuru <Nuru@users.noreply.github.com>
  • Loading branch information
osterman and Nuru authored Feb 3, 2024
1 parent 743c047 commit de7b11d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/readme/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export README_LINT ?= $(TMP)/README.md
export README_FILE ?= README.md
export README_YAML ?= README.yaml

export README_TEMPLATE_REPO_ORG ?= $(shell [ -f "$(README_YAML)" ] && dirname $$(grep '^github_repo: *' "$(README_YAML)" | cut -d: -f2))
export README_TEMPLATE_REPO_ORG ?= $(shell [ -f "$(README_YAML)" ] && dirname $$(grep '^github_repo: *' "$(README_YAML)" | tr -d \'\" | cut -d: -f2))
export README_TEMPLATE_REPO ?= .github
export README_TEMPLATE_REPO_REF ?= main
export README_TEMPLATE_REPO_PATH ?= README.md.gotmpl
Expand Down

0 comments on commit de7b11d

Please sign in to comment.