Skip to content

fix(build.sh): Cosmetic spacing fix#199

Merged
knative-prow-robot merged 2 commits intoknative:masterfrom
rhuss:pr/build-sh-spacing
Jun 25, 2019
Merged

fix(build.sh): Cosmetic spacing fix#199
knative-prow-robot merged 2 commits intoknative:masterfrom
rhuss:pr/build-sh-spacing

Conversation

@rhuss
Copy link
Copy Markdown
Contributor

@rhuss rhuss commented Jun 22, 2019

Iterm has an issue with rendering multi byte unicode chars. This
commit adds an extra space to certain emojis on iterm only.

This fixes current rendering issues on Linux term because that extra
space was added previously unconditionally.

Iterm has an issue with rendering multi byte unicode chars. This
commit adds an extra space to certain emojis on iterm only.

This fixes current rendering issues on Linux term because that extra
space was added previously unconditionally.
@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Jun 22, 2019
@knative-prow-robot knative-prow-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jun 22, 2019
@rhuss
Copy link
Copy Markdown
Contributor Author

rhuss commented Jun 22, 2019

Alternatively the icons could be exchanged to emoji which work every where (smaller unicode points)

@mattmoor mattmoor removed their request for review June 23, 2019 15:58
@adrcunha
Copy link
Copy Markdown
Contributor

/retest

@adrcunha
Copy link
Copy Markdown
Contributor

=========================
==== BUILDING CLIENT ====
=========================
/home/prow/go/src/github.com/knative/client/hack/build.sh: line 30: ITERM_PROFILE: unbound variable
ERROR: cluster setup failed

Comment thread hack/build.sh

set -eu

# Temporary fix for iTerm issue https://gitlab.com/gnachman/iterm2/issues/7901
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I suggest replacing the 4 lines with

[[ -n "${ITERM_PROFILE:-}" ]] S=" " || S=""

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated but kept the if-syntax although a bit more terse but easier to understand for non-shell gurus.

@cppforlife
Copy link
Copy Markdown

/lgtm
/approve

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 25, 2019
@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cppforlife, rhuss

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 25, 2019
@knative-prow-robot knative-prow-robot merged commit a0eb611 into knative:master Jun 25, 2019
maximilien pushed a commit to maximilien/client that referenced this pull request Jul 1, 2019
* fix(build.sh): Cosmetic spacing fix

Iterm has an issue with rendering multi byte unicode chars. This
commit adds an extra space to certain emojis on iterm only.

This fixes current rendering issues on Linux term because that extra
space was added previously unconditionally.

* fix(build.sh): Avoid uninitialized variable ITERM_PROFILE
@rhuss rhuss deleted the pr/build-sh-spacing branch March 9, 2021 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants