Skip to content

Commit

Permalink
removeReferencesToVendoredSourcesHook: avoid using /dev/fd directly
Browse files Browse the repository at this point in the history
  • Loading branch information
ipetkov committed Nov 8, 2024
1 parent f53b0b9 commit 23786b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Fixed
* `buildTrunkPackage` will pass in `--release=true` (instead of just
`--release`) for trunk versions 0.21 or higher to avoid argument ambiguities
* `removeReferencesToVendoredSourcesHook` avoids referencing `/dev/fd`
directly since it may not be present on certain platforms

## [0.19.1] - 2024-10-12

Expand Down
2 changes: 1 addition & 1 deletion lib/setupHooks/removeReferencesToVendoredSourcesHook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ removeReferencesToVendoredSources() {
echo stripping references to cargoVendorDir from:
find "${installLocation}" -type f |
sort |
tee -a /dev/fd/3 |
tee -a >(cat >&3) |
xargs --no-run-if-empty sed -i'' -f <(
echo -n 's!@storeDir@/\(eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee'
Expand Down

0 comments on commit 23786b2

Please sign in to comment.