X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft8006-blame-textconv.sh;h=c3c22f7764adc1542579dfddf1b47a687a93607a;hb=6eab5f2f14806cf6a7b665d96766a59c13a41f4b;hp=4ee42f12f0af6bc7e4b072350f88988b85e40cbb;hpb=113e828d3893f31ef72dd8287e95da9fa2287110;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