Merge pull request #26790 from rmmh/bash-range

Automatic merge from submit-queue

Use bash ranges "{1..3}" instead of "$(seq 1 3)".




[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/26790)
<!-- Reviewable:end -->
This commit is contained in:
Kubernetes Submit Queue
2016-08-09 15:18:30 -07:00
committed by GitHub
10 changed files with 13 additions and 13 deletions

View File

@@ -92,7 +92,7 @@ function upload_version() {
fi
local -r json_file="${gcs_build_path}/started.json"
for upload_attempt in $(seq 3); do
for upload_attempt in {1..3}; do
echo "Uploading version to: ${json_file} (attempt ${upload_attempt})"
gsutil -q -h "Content-Type:application/json" cp -a "${gcs_acl}" <(
echo "{"
@@ -153,7 +153,7 @@ function upload_artifacts_and_build_result() {
echo -n 'Run finished at '; date -d "@${timestamp}"
for upload_attempt in $(seq 3); do
for upload_attempt in {1..3}; do
echo "Uploading to ${gcs_build_path} (attempt ${upload_attempt})"
echo "Uploading build result: ${build_result}"
gsutil -q -h "Content-Type:application/json" cp -a "${gcs_acl}" <(