3
0
forked from pool/patchutils
patchutils/patchutils-0.2.30-tailsyntax.diff

12 lines
341 B
Diff

--- patchutils-0.2.29/tests/copy1/run-test
+++ patchutils-0.2.29/tests/copy1/run-test
@@ -16,7 +16,7 @@
${DIFF} -u dir/file.orig dir/file > patch1
${INTERDIFF} /dev/null patch1 2>errors > patch-1 || exit 1
[ -s errors ] && exit 1
-tail -1 patch-1 > lastline
+tail -n 1 patch-1 > lastline
cat << EOF | cmp - lastline || exit 1
---
EOF