Skip to content

Commit

Permalink
Also handle single quotes in make_banner() (knative#794)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrcunha authored and knative-prow-robot committed May 17, 2019
1 parent d1bb39b commit fcd1f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function abort() {
# $2 - banner message.
function make_banner() {
local msg="$1$1$1$1 $2 $1$1$1$1"
local border="${msg//[-0-9A-Za-z _.,\/()]/$1}"
local border="${msg//[-0-9A-Za-z _.,\/()\']/$1}"
echo -e "${border}\n${msg}\n${border}"
}

Expand Down

0 comments on commit fcd1f58

Please sign in to comment.