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
1 changed files with 1 additions and 1 deletions

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() {