Do you mean, the file shall become like that :

#! /bin/sh
# Args: DIR command
cd "$1"
CMD="$2"
shift
shift
exec $CMD "$@"


I removed the empty lines before the cd and exec lines.

I tried... it does not work...

How this empty lines could cause a problem ?



Stefan Bodewig a écrit :

> Olivier Prouvost <[EMAIL PROTECTED]> wrote:
>
> > And I confirm... If I run this task using Ant 1.2, it works
> > well..... !!  Is it a bug ?
>
> If my proposed solution works, it is a known (and bugzilla recorded)
> bug in the 1.3 binary distribution.
>
> Stefan

--
--------------------------------------------
  Olivier Prouvost     Anyware Technologies
  Tel : 05 61 00 52 90 Fax : 05 61 00 51 46
  Web : http://www.anyware-tech.com
--------------------------------------------



Reply via email to