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:
Andrew Bonventre 2018-01-11 13:07:24 -05:00
Родитель 7dd1e7da00
Коммит 43e2754f63
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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"+