Re: Testing help files



Thank you very much. That helped. It makes things much easier now. I can test the files.

Now I only get the error:

        ./po2page.sh: line 4: /home/aleksander/Work/Aviary.pl/Current1/figures: Is a directory

, because I also have a folder with pictures for the documentation. If I have some time I'll try to figure out how to work around this problem.

Thanks a lot for you help Milo.

Regards,

Alex


Dnia 2010-03-04, czw o godzinie 09:07 +0100, Milo Casagrande pisze:
2010/3/4 Aleksander Łukasiewicz <aleksander lukasiewicz net>:
>
> I'm trying to tweak the script, but I'm not a developer and I find it
> difficult to figure out what I'm doing wrong. Could you, please, help me
> with this bit? When I try to run the script:
>
> #!/bin/bash
> for i in `ls /home/aleksander/Work/Aviary.pl/Git/empathy/help/C` do
> xml2po -p pl.po /home/aleksander/Work/Aviary.pl/Git/empathy/help/C/$i >
> /home/aleksander/Work/Aviary.pl/Current1/$i
> done

Try to put the "do" part on a new line:

for i in `ls ...`
do
xml2po...
done

Watch out that if you have a directory inside C (and if it's empathy
you have the figures/ directory), the script may give you errors.
Otherwise, you should try the Makefile Mario sent to the list.

I'll try to provide a better script anyway, unfortunately not before
the weekend.

Ciao.




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