Skip to content

Commit

Permalink
Fixed: "grep: Invalid range end" if locale is not C - again (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkroepke committed Feb 19, 2021
1 parent 8ec4655 commit aa20582
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,18 @@ Allow override sops version on installation

## [Unreleased]

## [3.4.3] - 2021-02-19

### Fixes
- "grep: Invalid range end" if locale is not C (https://github.com/jkroepke/helm-secrets/pull/81)

## [3.4.2] - 2021-02-19

### Changed
- Dev: Rename `master` branch to `main`

### Fixes
- "grep: Invalid range end" if locale is different then C (https://github.com/jkroepke/helm-secrets/pull/79)
- "grep: Invalid range end" if locale is not C (https://github.com/jkroepke/helm-secrets/pull/79)

## [3.4.1] - 2021-01-23

Expand Down Expand Up @@ -98,7 +103,8 @@ Started a fork of https://github.com/zendesk/helm-secrets
- Support all helm sub commands and plugins


[Unreleased]: https://github.com/jkroepke/helm-secrets/compare/v3.4.2...HEAD
[Unreleased]: https://github.com/jkroepke/helm-secrets/compare/v3.4.3...HEAD
[3.4.3]: https://github.com/jkroepke/helm-secrets/compare/v3.4.2...v3.4.3
[3.4.2]: https://github.com/jkroepke/helm-secrets/compare/v3.4.1...v3.4.2
[3.4.1]: https://github.com/jkroepke/helm-secrets/compare/v3.4.0...v3.4.1
[3.4.0]: https://github.com/jkroepke/helm-secrets/compare/v3.3.5...v3.4.0
Expand Down
2 changes: 1 addition & 1 deletion scripts/drivers/_custom.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ driver_decrypt_file() {

# Grab all patterns, deduplicate and pass it to loop
# https://github.com/koalaman/shellcheck/wiki/SC2013
if ! grep -o -e "${_DRIVER_REGEX}" "${input}" | sort | uniq | while IFS= read -r EXPRESSION; do
if ! LC_ALL=C.UTF-8 grep -o -e "${_DRIVER_REGEX}" "${input}" | sort | uniq | while IFS= read -r EXPRESSION; do
# remove prefix
_SECRET="${EXPRESSION#* }"

Expand Down

0 comments on commit aa20582

Please sign in to comment.