Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37041579
en ru br
ALT Linux repositórios
S:0.21-alt2
5.0: 0.17-alt6
4.1: 0.17-alt3
4.0: 0.14.6-alt2
3.0: 0.14.4-alt1

Outros repositórios
Upstream:0.17

Group :: Sistema/Base
RPM: gettext

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: gettext-alt-gettextize-quiet.patch
Download


--- gettext/gettext-tools/misc/gettextize.in
+++ gettext/gettext-tools/misc/gettextize.in
@@ -192,6 +192,7 @@ Options:
       --help           print this help and exit
       --version        print version information and exit
   -f, --force          force writing of new files even if old exist
+  -q, --quiet          don't ask acknowledgements
       --po-dir=DIR     specify directory with PO files
       --no-changelog   don't update or create ChangeLog files
       --symlink        make symbolic links instead of copying files
@@ -239,6 +240,7 @@ unset CLICOLOR_FORCE GREP_OPTIONS
 # - doit            false if --dry-run was given, : otherwise
 {
   force=0
+  quiet=0
   intldir=
   podirs=
   try_ln_s=false
@@ -255,6 +257,9 @@ unset CLICOLOR_FORCE GREP_OPTIONS
       -f | --force | --forc | --for | --fo | --f )
         shift
         force=1 ;;
+      -q | --quiet | --quie | --qui | --qu | --q )
+        shift
+        quiet=1 ;;
       --help | --hel | --he | --h )
         func_usage; exit 0 ;;
       --intl | --int | --in | --i )
@@ -1303,10 +1308,12 @@ if $doit; then
     5) count="five paragraphs";;
     *) count="$count paragraphs";;
   esac
+  if test $quiet -eq 0; then
   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
 fi
 
 exit 0
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009