File patchutils-0.2.30-tailsyntax.diff of Package patchutils

--- 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
openSUSE Build Service is sponsored by