openbsd-ports/devel/darcs/patches/patch-tests_hunk-editor_sh
kili 3cbc8c92c5 Update to darcs-2.5.2.
Set PORTHOME to let texlive (called via latex2html) build some fonts.
2011-04-05 11:45:14 +00:00

13 lines
531 B
Plaintext

$OpenBSD: patch-tests_hunk-editor_sh,v 1.1 2011/04/05 11:45:14 kili Exp $
--- tests/hunk-editor.sh.orig Sun Mar 13 23:40:47 2011
+++ tests/hunk-editor.sh Mon Apr 4 16:18:14 2011
@@ -34,7 +34,7 @@ echo 'version1' > file
darcs record -lam "version1"
echo 'version2' > file
-(echo e ; echo y ; echo n) | DARCS_EDITOR="sed -i -e s/version2/version1.5/" darcs record -m "version1.5"
+(echo e ; echo y ; echo n) | DARCS_EDITOR="perl -pi -e s/version2/version1.5/" darcs record -m "version1.5"
cat > expected <<EOF
hunk ./file 1