summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorTorsten Bögershausen <tboegi@web.de>2013-05-11 13:25:52 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-05-11 19:51:19 (GMT)
commit8d97506e4b972f11ab918bfaaebe036111b249dc (patch)
treec323029be922d265ddec5504b9481d67b5520758 /contrib
parent9249175291a00f4984f87107119a3e11e0a092a6 (diff)
downloadgit-8d97506e4b972f11ab918bfaaebe036111b249dc.zip
git-8d97506e4b972f11ab918bfaaebe036111b249dc.tar.gz
git-8d97506e4b972f11ab918bfaaebe036111b249dc.tar.bz2
test-bzr: do not use unportable sed '\+'
Using sed -e '/[0-9]\+//' to find "one or more digits" is not portable. Use the Basic Regular Expression '/[0-9][0-9]*//' instead. Signed-off-by: Torsten Bögershausen <tboegi@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/remote-helpers/test-bzr.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/remote-helpers/test-bzr.sh b/contrib/remote-helpers/test-bzr.sh
index d9c32f4..5dfa070 100755
--- a/contrib/remote-helpers/test-bzr.sh
+++ b/contrib/remote-helpers/test-bzr.sh
@@ -328,7 +328,7 @@ test_expect_success 'strip' '
echo four >> content &&
bzr commit -m four &&
- bzr log --line | sed -e "s/^[0-9]\+: //" > ../expected
+ bzr log --line | sed -e "s/^[0-9][0-9]*: //" > ../expected
) &&
(cd gitrepo &&