From 6c8890953bfac44500c78adfe5257a8831be08cd Mon Sep 17 00:00:00 2001 From: Paolo Brasolin Date: Wed, 24 Nov 2021 20:13:50 +0100 Subject: [PATCH] fix: add missing flag to GREP #8 --- CHANGELOG.md | 9 ++++++++- action.yml | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 413e086..a4e7cf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.0.2] - 2021-11-24 + +### Fixed + +- Comments in package files are now correctly ignored. + ## [1.0.1] - 2021-11-11 ### Fixed @@ -20,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - First public release. -[unreleased]: https://github.com/paolobrasolin/setup-texlive-action/compare/v1.0.0...HEAD +[unreleased]: https://github.com/paolobrasolin/setup-texlive-action/compare/v1.0.2...HEAD +[1.0.2]: https://github.com/paolobrasolin/setup-texlive-action/compare/v1.0.1...v1.0.2 [1.0.1]: https://github.com/paolobrasolin/setup-texlive-action/compare/v1.0.0...v1.0.1 [1.0.0]: https://github.com/paolobrasolin/setup-texlive-action/releases/tag/v1.0.0 diff --git a/action.yml b/action.yml index 55083ba..7b86d2c 100644 --- a/action.yml +++ b/action.yml @@ -126,7 +126,7 @@ runs: run: | # Install TeX Live packages (Linux or macOS) ## Read nonempty lines from packages file into an array - while IFS=\= read pkg; do TEXLIVE_PACKAGES+=($pkg); done < <(grep --invert-match '^(\s*#.*)?$' "$TEXLIVE_PACKAGES_PATH") + while IFS=\= read pkg; do TEXLIVE_PACKAGES+=($pkg); done < <(grep --invert-match --extended-regexp '^(\s*#.*)?$' "$TEXLIVE_PACKAGES_PATH") ## Use tlmgr to install the packages tlmgr install "${TEXLIVE_PACKAGES[@]}"