Merge ~smoser/cloud-init:fix/1784713-ksh-does-not-have-local into cloud-init:master
Proposed by
Scott Moser
Status: | Merged |
---|---|
Approved by: | Chad Smith |
Approved revision: | 4407720ae69f784d01db5c5d035b3be93b6a4441 |
Merge reported by: | Server Team CI bot |
Merged at revision: | not available |
Proposed branch: | ~smoser/cloud-init:fix/1784713-ksh-does-not-have-local |
Merge into: | cloud-init:master |
Diff against target: |
57 lines (+13/-8) 2 files modified
tools/Z99-cloud-locale-test.sh (+8/-5) tools/Z99-cloudinit-warnings.sh (+5/-3) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chad Smith | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Merlie Allen | Pending | ||
Review via email: mp+352010@code.launchpad.net |
Commit message
Use typeset or local in profile.d scripts.
Bash and most other "bourne-like" shells allow declaring function
local variables via 'local'. ksh does not. Instead of using 'local'
always, use 'typeset' when the KSH_VERSION variable is present in
environment.
LP: #1784713
Description of the change
see commit message
To post a comment you must log in.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
PASSED: Continuous integration, rev:0674c305d20 aaa8dc283612c10 8d8b156c5694f4 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 183/
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
SUCCESS: MAAS Compatability Testing
IN_PROGRESS: Declarative: Post Actions
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 183/rebuild
https:/