/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

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