distribution/packages/devel/gettext/patches/gettext-0.18.2-non_interactive.patch
2022-02-05 09:23:32 -05:00

18 lines
801 B
Diff

diff -Naur gettext-0.18.1.1-old/gettext-tools/misc/gettextize.in gettext-0.18.1.1-new/gettext-tools/misc/gettextize.in
--- gettext-0.18.1.1-old/gettext-tools/misc/gettextize.in 2010-06-06 05:49:57.000000000 -0700
+++ gettext-0.18.1.1-new/gettext-tools/misc/gettextize.in 2010-08-18 06:52:51.000000000 -0700
@@ -1272,10 +1272,10 @@
5) count="five paragraphs";;
*) count="$count paragraphs";;
esac
- echo "Press Return to acknowledge the previous $count."
- # Read from /dev/tty, not stdin, so that gettextize cannot be abused by
- # non-interactive tools.
- read dummy < /dev/tty
+# echo "Press Return to acknowledge the previous $count."
+# # Read from /dev/tty, not stdin, so that gettextize cannot be abused by
+# # non-interactive tools.
+# read dummy < /dev/tty
fi
exit 0