... | ... |
@@ -116,17 +116,8 @@ do |
116 | 116 |
done |
117 | 117 |
|
118 | 118 |
# Build only 'openshift' for other platforms |
119 |
-for OS in darwin windows |
|
120 |
-do |
|
121 |
- export GOOS=${OS} |
|
122 |
- if [ $GOOS == 'windows' ] |
|
123 |
- then |
|
124 |
- export GOARCH='386' |
|
125 |
- else |
|
126 |
- export GOARCH='amd64' |
|
127 |
- fi |
|
128 |
- go install -ldflags "%{ldflags}" %{import_path}/cmd/openshift |
|
129 |
-done |
|
119 |
+GOOS=windows GOARCH=386 go install -ldflags "%{ldflags}" %{import_path}/cmd/openshift |
|
120 |
+GOOS=darwin GOARCH=amd64 go install -ldflags "%{ldflags}" %{import_path}/cmd/openshift |
|
130 | 121 |
|
131 | 122 |
#Build our pod |
132 | 123 |
pushd images/pod/ |