=?UTF-8?Q?Re=3A_=C5=BDiados=C5=A5_o_preklad_gnome=2Dpackagekit?=



Ahoj, ďakujem za odpovede.

Skúsil som po-check spustiť aj na nahraný súbor čakajúci na kontrolu,
ale nerozpozná ho ako URL, problém bude asi v tom egrepe. Skúsil som
to aj na inom skontrolovanom súbore. Asi medzitým nastala zmena
základu URL.

Ešte navrhujem aby si do skriptu doplnil komentár s informáciou o
verzii skriptu (dátum?).

S pozdravom
~~helix84

$ ./check-po http://l10n.gnome.org/media/upload/gnome-packagekit-master-po-sk-99105_.merged.po
ERROR: File 'http://l10n.gnome.org/media/upload/gnome-packagekit-master-po-sk-99105_.merged.po'
not found!

Usage:
./check-po URL
./check-po [-l] FN
        URL     url to Vertimus web page (must start with http://)
        FN      filename
        -l      work offline

$ bash -x ./check-po
http://l10n.gnome.org/media/upload/gnome-packagekit-master-po-sk-99105_.merged.po
+ DL_MODULE=
+ DL_BRANCH=
+ DL_USER=
+ DL_FILE_URL=
+ FN_MODULE=
+ FN_BRANCH=
+ WIKI_USER=
+ WIKI_FULLNAME=
+ USER_EMAIL=
+ USER_FULLNAME=
+ LL=sk
+ LANGUAGE=Slovak
+ GDATE=
+ GEGREP=
+ DOS2UNIX=
+ case `uname -s` in
++ uname -s
+ DOS2UNIX=dos2unix
+ GDATE=date
+ GEGREP=egrep
+ test 1 -lt 1
+ LOCAL=
+ URL=
+ FILE=
+ test http://l10n.gnome.org/media/upload/gnome-packagekit-master-po-sk-99105_.merged.po
'!=' -l
+ echo http://l10n.gnome.org/media/upload/gnome-packagekit-master-po-sk-99105_.merged.po
+ egrep '^http://l10n.gnome.org/vertimus/'
+ test 1 -eq 0
+ test -z ''
+ test 1 -ne 1
+ FILE=http://l10n.gnome.org/media/upload/gnome-packagekit-master-po-sk-99105_.merged.po
+ test '!' -f http://l10n.gnome.org/media/upload/gnome-packagekit-master-po-sk-99105_.merged.po
+ printf 'ERROR: File
'\''http://l10n.gnome.org/media/upload/gnome-packagekit-master-po-sk-99105_.merged.po'\''
not found!\n\n'
ERROR: File 'http://l10n.gnome.org/media/upload/gnome-packagekit-master-po-sk-99105_.merged.po'
not found!

+ usage 2
+ printf 'Usage:\n'
Usage:
+ printf '../check-po URL\n'
../check-po URL
+ printf '../check-po [-l] FN\n'
../check-po [-l] FN
+ printf '\tURL\turl to Vertimus web page (must start with http://)\n'
        URL     url to Vertimus web page (must start with http://)
+ printf '\tFN\tfilename\n'
        FN      filename
+ printf '\t-l\twork offline\n'
        -l      work offline
+ exit 2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]