pitrou commented on code in PR #43615:
URL: https://github.com/apache/arrow/pull/43615#discussion_r1709887371
##########
dev/tasks/python-wheels/github.osx.yml:
##########
@@ -60,7 +60,7 @@ jobs:
- name: Retrieve VCPKG version from arrow/.env
run: |
- vcpkg_version=$(cat "arrow/.env" | grep "VCPKG" | cut -d "=" -f2 |
tr -d '"')
+ vcpkg_version=$(. "arrow/.env" | echo "${VCPKG}")
Review Comment:
That doesn't seem right?
```console
$ bash -c '. ".env" | echo "${VCPKG}"'
$ bash -c '. ".env" && echo "${VCPKG}"'
943c5ef1c8f6b5e6ced092b242c8299caae2ff01
```
```suggestion
vcpkg_version=$(. "arrow/.env" && echo "${VCPKG}")
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]