/packages/toolchain/devel/autotools/gettext/patches/gettext-0.18.1.1-non_interactive.patch
http://github.com/OpenELEC/OpenELEC.tv · Patch · 18 lines · 17 code · 1 blank · 0 comment · 0 complexity · f4cf79ae3b33015dc4304c72e5cf9604 MD5 · raw file
- 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