Browse code

Fix somee mistakes in script as follow:

Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>

yuexiao-wang authored on 2016/08/16 11:20:44
Showing 4 changed files
... ...
@@ -226,6 +226,8 @@ build-cross: clean
226 226
 
227 227
 # Install travis dependencies
228 228
 #
229
+# Example:
230
+#   make install-travis
229 231
 install-travis:
230 232
 	hack/install-tools.sh
231 233
 .PHONY: install-travis
... ...
@@ -19,7 +19,7 @@ if [[ "${OS_RELEASE:-}" == "n" ]]; then
19 19
   OS_BUILD_PLATFORMS=("${OS_IMAGE_COMPILE_PLATFORMS[@]-}")
20 20
 
21 21
   echo "Building images from source ${OS_RELEASE_COMMIT}:"
22
-	echo
22
+  echo
23 23
   OS_GOFLAGS="${OS_GOFLAGS:-} ${OS_IMAGE_COMPILE_GOFLAGS}" os::build::build_static_binaries "${OS_IMAGE_COMPILE_TARGETS[@]-}" "${OS_SCRATCH_IMAGE_COMPILE_TARGETS[@]-}"
24 24
 	os::build::place_bins "${OS_IMAGE_COMPILE_BINARIES[@]}"
25 25
   echo
... ...
@@ -115,7 +115,7 @@ function os::util::environment::update_path_var() {
115 115
 }
116 116
 readonly -f os::util::environment::update_path_var
117 117
 
118
-# os::util::environment::setup_misc_tmpdir_vars sets up temporary directory path variables
118
+# os::util::environment::setup_tmpdir_vars sets up temporary directory path variables
119 119
 #
120 120
 # Globals:
121 121
 #  - TMPDIR
... ...
@@ -1,5 +1,5 @@
1 1
 Generating API documents
2 2
 ========================
3 3
 
4
-To generate docs, you must have Gradle installed at version 2.2+. Run `hack/gen-swagger-docs.sh` to create a new copy of
5
-the docs in `_output/local/docs/swagger` for the OpenShift v1 and Kubernetes v1 APIs.
6 4
\ No newline at end of file
5
+To generate docs, you must have Gradle installed at version 2.2+. Run `hack/update-swagger-docs.sh` to create a new copy of
6
+the docs in `_output/local/docs/swagger` for the OpenShift v1 and Kubernetes v1 APIs.