Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit 132eade

Browse files
committed
Sync go_install script with upstream
Signed-off-by: Chris Privitere <[email protected]>
1 parent bc8d954 commit 132eade

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/go_install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
# Copyright 2020 The Kubernetes Authors.
2+
# Copyright 2021 The Kubernetes Authors.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
@@ -37,7 +37,7 @@ if [ -z "${GOBIN}" ]; then
3737
exit 1
3838
fi
3939

40-
rm "${GOBIN}/${2}"* || true
40+
rm -f "${GOBIN}/${2}"* || true
4141

4242
# install the golang module specified as the first argument
4343
go install "${1}@${3}"

0 commit comments

Comments
 (0)