kubernetes/hack/lib
Davanum Srinivas 7e01702a88
Move "-s -w" flags to GOLDFLAGS as an overridable default.
If GOLDFLAGS is set, whether it is empty or not, we should honor it.
Only if the GOLDFLAGS is totally not set, then we use "-s -w"

See Parameter Expansion section in the urls below:

https://stackoverflow.com/questions/3601515/how-to-check-if-a-variable-is-set-in-bash/16753536
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_02

Change-Id: I826c34efc63c77f0e3e9677fff30a3eb2219a377
2019-04-17 21:55:13 -04:00
..
.gitattributes Capture git export-subst strings in version.sh for 'git archive' use. 2017-11-09 16:36:27 -08:00
BUILD cluster: move logging library to hack/ 2018-01-13 16:37:50 -08:00
etcd.sh change a way to pass SC2164 in etcd.sh 2019-02-24 20:26:59 +08:00
golang.sh Move "-s -w" flags to GOLDFLAGS as an overridable default. 2019-04-17 21:55:13 -04:00
init.sh Update hack scripts to use go mod 2019-04-03 10:19:39 -04:00
logging.sh fix shellcheck failures of hack/lib/logging.sh hack/lib/protoc.sh 2019-04-12 16:00:23 +08:00
protoc.sh fix shellcheck failures of hack/lib/logging.sh hack/lib/protoc.sh 2019-04-12 16:00:23 +08:00
swagger.sh Improved some more bash script variable definitions 2019-01-21 23:11:58 +01:00
test.sh Improved some more bash script variable definitions 2019-01-21 23:11:58 +01:00
util.sh Update hack scripts to use go mod 2019-04-03 10:19:39 -04:00
version.sh kubectl: removes pkg/version dependency 2019-03-28 16:08:34 -07:00