aboutsummaryrefslogtreecommitdiff
path: root/t/t3408-rebase-multi-line.sh
diff options
context:
space:
mode:
authorStephen Boyd <bebarino@gmail.com>2010-01-26 15:08:31 -0800
committerJunio C Hamano <gitster@pobox.com>2010-01-26 15:16:54 -0800
commit9524cf29930b4f91d68ad1384d7f984393a54c15 (patch)
treefec23ec235813a482b7d3d9e2bf187c9ddd8b2ef /t/t3408-rebase-multi-line.sh
parent24072c0256a520408575416fe8706667b576ff99 (diff)
downloadgit-9524cf29930b4f91d68ad1384d7f984393a54c15.tar.gz
git-9524cf29930b4f91d68ad1384d7f984393a54c15.tar.xz
fix portability issues with $ in double quotes
Using a dollar sign in double quotes isn't portable. Escape them with a backslash or replace the double quotes with single quotes. Signed-off-by: Stephen Boyd <bebarino@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3408-rebase-multi-line.sh')
-rwxr-xr-xt/t3408-rebase-multi-line.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t3408-rebase-multi-line.sh b/t/t3408-rebase-multi-line.sh
index e12cd578e..2062b858b 100755
--- a/t/t3408-rebase-multi-line.sh
+++ b/t/t3408-rebase-multi-line.sh
@@ -32,8 +32,8 @@ test_expect_success rebase '
git checkout side &&
git rebase master &&
- git cat-file commit HEAD | sed -e "1,/^$/d" >actual &&
- git cat-file commit side@{1} | sed -e "1,/^$/d" >expect &&
+ git cat-file commit HEAD | sed -e "1,/^\$/d" >actual &&
+ git cat-file commit side@{1} | sed -e "1,/^\$/d" >expect &&
test_cmp expect actual
'