problems with .sh files AGAIN

ProTON
ProTON's picture

Joined: 2003-12-09
Posts: 3
Posted: Wed, 2003-12-10 14:21

Hi, i just upgraded 1.4-pl2 -> 1.4.1, updated my translation and wanted to create .mo files. But .sh script don't work. I've tried couple of snapshots from cvs (including current one). But still i'm getting following error when i execute make_mo_files.sh or update_po_files.sh

Checking ../locale OK
only lt_LT
lt_LT

Found : ../locale/lt_LT/lt_LT-gallery_core.po
Stripped: lt_LT-gallery_core.po
make_mo_files.sh: ${module1/.po}: bad substitution

running redhat - redhat 7.2 (2.2.14)
PHP 4.3.1
gettext 0.13
bash-1.14.7-16

i searched the forum but found nothing familiar. please help.

 
ProTON
ProTON's picture

Joined: 2003-12-09
Posts: 3
Posted: Thu, 2003-12-11 13:23

It seems that my BASH version is too old. I just executed .sh files on other server (with bash-2.05) and everything seems to be ok.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2003-12-11 14:01

Hi,

you dont NEED those scripts.
You can use perfectly poEdit.

Could you send me your lt_LT update for 1.4.1 ?
Then i can put it on SF to make it public.

Jens

PS.: strange combination:
Very outdated kernel, little outdated php, brandnew gettext and very old bash
:) :)