From: Dennis Stosberg Date: Fri, 6 Oct 2006 09:10:54 +0000 (+0200) Subject: Remove bashism from t3210-pack-refs.sh X-Git-Tag: v1.4.4-rc1~44^2~9 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=26e5fc3415a294546b4009c7280fed4d367d4e62;p=git.git Remove bashism from t3210-pack-refs.sh This bashism makes the test fail if /bin/sh is not bash. Signed-off-by: Dennis Stosberg Signed-off-by: Junio C Hamano --- diff --git a/t/t3210-pack-refs.sh b/t/t3210-pack-refs.sh index f31e79c56..ca5bd49ba 100755 --- a/t/t3210-pack-refs.sh +++ b/t/t3210-pack-refs.sh @@ -23,7 +23,7 @@ SHA1= test_expect_success \ 'see if git show-ref works as expected' \ 'git-branch a && - SHA1=$(< .git/refs/heads/a) && + SHA1=`cat .git/refs/heads/a` && echo "$SHA1 refs/heads/a" >expect && git-show-ref a >result && diff expect result'