Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bin: shellscript housekeeping #13469

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

joakimr-axis
Copy link
Contributor

  • Use single quotes for static strings, not double
  • Use sh and not bash for _os.sh that has no bash-specific content
  • Remove superfluous double quotes on variable assignments
  • Only use bash-specific [[ ]] if statements for bash-specific content
  • Consistently use style with if; then on same line

Signed-off-by: Joakim Roubert [email protected]

- Use single quotes for static strings, not double
- Use sh and not bash for _os.sh that has no bash-specific content
- Remove superfluous double quotes on variable assignments
- Only use bash-specific [[ ]] if statements for bash-specific content
- Consistently use style with if; then on same line

Change-Id: I1575971262773149db32021efbf2d7f1d4df9771
Signed-off-by: Joakim Roubert <[email protected]>
@joakimr-axis joakimr-axis requested a review from a team as a code owner December 11, 2024 08:54
Copy link
Member

@alpeb alpeb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glad to hear back from you @joakimr-axis, this lookgs great, thanks!

@alpeb alpeb merged commit 2b92b07 into linkerd:main Dec 12, 2024
45 checks passed
@joakimr-axis joakimr-axis deleted the joakimr-axis_housekeeping1 branch December 13, 2024 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants