1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 15:36:24 +08:00

fix(svn): fix sed call in svn_get_rev_nr (#10590)

This commit is contained in:
Mykola Krachkovsky 2022-01-14 16:28:39 +02:00 committed by GitHub
parent 035c856c2c
commit 1e277553bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ svn_get_branch_name() {
}
svn_get_rev_nr() {
sed -n 's/Revision:\ //p' "${1:-$(LANG= svn info 2>/dev/null)}"
sed -n 's/Revision:\ //p' <<<"${1:-$(LANG= svn info 2>/dev/null)}"
}
svn_dirty() {