Commit afbf92c6 authored by Randy Merrill's avatar Randy Merrill

Updating the escape characters to fix an issue with having a + in the branch name.

Since git allows for it the escape should not escape it since it then won't match the branch names correctly.
parent 07dacd52
...@@ -45,7 +45,7 @@ warn() { echo "$@" >&2; } ...@@ -45,7 +45,7 @@ warn() { echo "$@" >&2; }
die() { warn "$@"; exit 1; } die() { warn "$@"; exit 1; }
escape() { escape() {
echo "$1" | sed 's/\([\.\+\$\*]\)/\\\1/g' echo "$1" | sed 's/\([\.\$\*]\)/\\\1/g'
} }
# set logic # set logic
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment