[
https://issues.apache.org/jira/browse/THRIFT-5493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sylwester Lachiewicz resolved THRIFT-5493.
------------------------------------------
Fix Version/s: 0.25.0
Resolution: Fixed
Fixed in master by [PR #3808|https://github.com/apache/thrift/pull/3808],
commit 2b1cf5409.
test/go/genmock.sh called {{chmod}} with the file before the mode, which GNU
coreutils tolerates but the BSD userland on macOS rejects. The arguments are
now in the documented order, so the script runs on both.
> Invalid chmod command in test/go/genmock.sh
> -------------------------------------------
>
> Key: THRIFT-5493
> URL: https://issues.apache.org/jira/browse/THRIFT-5493
> Project: Thrift
> Issue Type: Question
> Components: Go - Library
> Affects Versions: 0.15.0, 0.16.0
> Reporter: Rishabh Gupta
> Assignee: Sylwester Lachiewicz
> Priority: Major
> Fix For: 0.25.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The last command in `test/go/genmock.sh` is:
> {code:java}
> chmod a+w -R $GOPATH && rm -Rf $GOPATH {code}
> When this is running the following error is seen:
> {code:java}
> chmod: -R: No such file or directory {code}
> The command should be changed to:
> {code:java}
> chmod -R a+w $GOPATH && rm -Rf $GOPATH {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)