X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft8006-blame-textconv.sh;h=c3c22f7764adc1542579dfddf1b47a687a93607a;hb=f2120eb4db3e3e3f9a336eb04fdc2319d7421536;hp=4ee42f12f0af6bc7e4b072350f88988b85e40cbb;hpb=ef87690b27fd1facdc8cc48f6789a930939303a3;p=git.git diff --git a/t/t8006-blame-textconv.sh b/t/t8006-blame-textconv.sh index 4ee42f12f..c3c22f776 100755 --- a/t/t8006-blame-textconv.sh +++ b/t/t8006-blame-textconv.sh @@ -10,7 +10,7 @@ find_blame() { cat >helper <<'EOF' #!/bin/sh grep -q '^bin: ' "$1" || { echo "E: $1 is not \"binary\" file" 1>&2; exit 1; } -sed 's/^bin: /converted: /' "$1" +perl -p -e 's/^bin: /converted: /' "$1" EOF chmod +x helper