diff options
-rwxr-xr-x | test/bootstrap | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/bootstrap b/test/bootstrap index ea781c9..1faa749 100755 --- a/test/bootstrap +++ b/test/bootstrap @@ -85,11 +85,11 @@ initializeRepositories () { } getTagList () { - getTagList_multiline=$(git -C "${1}" show-ref --tags | sed -E 's:^.*?refs/tags/::' || true) + getTagList_multiline=$(git -C "${1}" show-ref --tags | sed -E 's:^.* refs/tags/::' || true) printf '%s' "${getTagList_multiline}" | sort -b | tr '\n' ' ' | sed -E 's:^ | $::g' } getBranchList () { - getBranchList_multiline=$(git -C "${1}" show-ref --heads | sed -E 's:^.*?refs/heads/::' || true) + getBranchList_multiline=$(git -C "${1}" show-ref --heads | sed -E 's:^.* refs/heads/::' || true) printf '%s' "${getBranchList_multiline}" | sort -b | tr '\n' ' ' | sed -E 's:^ | $::g' } |