StarlingX build source tree root
Go to file
Don Penney b58bd1cc5a Fix use of 'let -i' in scripts
Unlike "declare -i" and "local -i", the bash "let" does not support a
"-i" option. Rather, it takes it as a variable reference. If no "i"
variable is defined in scope, it does not cause an issue. If "i" has
been defined somewhere, however, it may cause a syntax issue, as the i
is evaluated.

A recent update to build-stx-images.sh added a loop that defines an
"i" variable without limiting its scope. In a current image build,
this loop ends with having "i" defined as a URL. As a result, a
"syntax error in expression" occurs, causing the "with_retries"
function to fail to increment the counter. Should a build error occur,
the "with_retries" will never hit the retry limit, looping until it
has a successful result.

This update removes the -i from all "let -i" occurrences in the build
scripts.

Change-Id: I34ad49f8872a81659ff4caf8087b256ea9fb3d32
Closes-Bug: 1891189
Signed-off-by: Don Penney <don.penney@windriver.com>
(cherry picked from commit f36db7e207)
2020-08-13 21:57:28 +00:00
build-data Fix rt kernel always rebuild issue 2020-05-02 22:46:03 +08:00
build-tools Fix use of 'let -i' in scripts 2020-08-13 21:57:28 +00:00
stx Add portieris-armada-app repo to gitignore 2020-04-28 11:02:33 -04:00
.gitignore Update tox.ini bashate to test all bash scripts 2020-02-12 19:20:43 +00:00
.gitreview Update .gitreview for r/stx.4.0 2020-07-08 08:54:23 -07:00
.zuul.yaml Adding job to upload commits to GitHub 2020-02-06 15:00:45 -05:00
LICENSE StarlingX open source release updates 2018-06-01 07:45:23 -07:00
test-requirements.txt Update tests to new default 2018-06-08 20:09:47 -05:00
tox.ini Update tox.ini bashate to test all bash scripts 2020-02-12 19:20:43 +00:00