kubernetes/hack
Filipe Brandenburger e33d4678e6 Fix line 55: ldflags[*]: unbound variable
This is caused by bash thinking that an empty array is the same as an
undefined variable and `set -o nounset` treating that as an error.

Fix that by using an empty string as the default for the expansion.

Fixes PR #1069 (6e25f60288).

Tested:
- Before this patch:
  $ mv .git .gitbackup
  $ hack/build-go.sh
  /home/filbranden/devel/kubernetes/hack/config-go.sh: line 55: ldflags[*]: unbound variable

- After this patch:
  $ mv .git .gitbackup
  $ rm -rf output/
  $ hack/build-go.sh
  $ output/go/bin/kubelet -version
  Kubernetes version 0.1+, build (unknown)

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
2014-08-27 19:04:48 -07:00
..
azure Rename and move Azure scripts. 2014-07-18 16:13:05 -07:00
e2e-suite Add some extra debugging, and a sleep to attempt to deflake the update test. 2014-08-20 22:28:54 -07:00
build-go.sh Grab complete version information from git 2014-08-27 17:36:04 -07:00
config-go.sh Fix line 55: ldflags[*]: unbound variable 2014-08-27 19:04:48 -07:00
dev-build-and-push.sh Call build-go.sh before bundling a release 2014-08-04 13:58:32 -07:00
dev-build-and-up.sh Call build-go.sh before bundling a release 2014-08-04 13:58:32 -07:00
e2e-test.sh Update e2e scripts to use the -template parameter. 2014-08-20 12:24:39 -07:00
install-std-race.sh -cover causes races in Go 1.2 2014-07-11 15:48:31 -04:00
local-up-cluster.sh kube-proxy can read config from the apiserver 2014-08-27 15:49:01 -04:00
test-cmd.sh Add an integration test for etcd 2014-08-23 11:44:21 -04:00
test-go.sh Move go detection and environment setup into its own function 2014-08-27 17:04:19 -07:00
test-integration.sh Add an integration test for etcd 2014-08-23 11:44:21 -04:00
util.sh Add an integration test for etcd 2014-08-23 11:44:21 -04:00
verify-boilerplate.sh Fix verify-boilerplate 2014-08-15 13:12:01 -05:00
verify-gofmt.sh changed scripts to use godep 2014-08-13 15:02:14 -04:00