As I posted the following problem without any knowledge of the reason until
it has been reposted as a bug for Solaris, it is the same problem on both
Linux boxes and Solaris. The best solution is to reformat the file
*build.sh* using
$dos2unix <old_shell> <new_shell>

where <old_shell> should be build.sh, if some problems appear while
converting, it may still to a chance for the old_shell as it is already
been converted.

> Hi,
>
> I'm trying to rebuild the documentation for Xerces-J 2 with the shell
> script build.sh (bash, RH 7.1, Kernel 2.4). The command
> $./build.sh
> gives:
> bash: build.sh: No such file or directory
> (here, the objection is against the file and not its contents, the
> execution bit is enabled)
> And the command with debugging:
> $sh -x ./build.sh
> objects against some commands (e.g. the emty lines) and reports that for
> the last line in the file as
> syntax error: unexpected end of file".
>
> Did anyone face such a problem?
> Any hints are highly appreciated. Thanks.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to