mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
This fixes a slight regex bug on Bash 5, where `[:/]` would only match `:` but not both `:/`. ```bash $ git remote -v | grep "github.com[:/]coder/coder.*(fetch)" | cut -f1 $ git remote -v | grep "github.com[:/]*coder/coder.*(fetch)" | cut -f1 origin ``` The former will actually cause the whole script to bork because of `pipefail`, since `grep` exits 1. Signed-off-by: Danny Kopping <dannykopping@gmail.com>