зеркало из https://github.com/golang/build.git
cmd/releasebot: remove -s flag from which invocation
It’s not present on all platforms Change-Id: Icbb5525084c9a5dbe5b429363729c406ed326478 Reviewed-on: https://go-review.googlesource.com/87396 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Родитель
7dd1e7da00
Коммит
43e2754f63
|
@ -122,7 +122,7 @@ Args:
|
|||
// checkForGitCodereview exits the program if git-codereview is not installed
|
||||
// in the user's path.
|
||||
func checkForGitCodereview() {
|
||||
cmd := exec.Command("which", "-s", "git-codereview")
|
||||
cmd := exec.Command("which", "git-codereview")
|
||||
if err := cmd.Run(); err != nil {
|
||||
log.Fatal("could not find git-codereivew: ", cmd.Args, ": ", err, "\n\n"+
|
||||
"Please install it via go get golang.org/x/review/git-codereview\n"+
|
||||
|
|
Загрузка…
Ссылка в новой задаче