GANT shell script execution

Andy Boersma andy at boersma.ca
Sat Oct 4 17:07:17 UTC 2008


Hi,

Did you make the shell executable??

in terminal:
sudo chmod +x execute.sh

Unlike windows a file has to be allowed to execute, and by default it is 
not.

Andy

Doooh Head wrote:
> Hi All,
>
> I have a very "Linux-newbie" question for you.  I have a very simple shell script (execute.sh):
>
> cd ~/workspace/trunk/time
> maven clean jar:install
> cd ~/workspace/start/point
>
> I am trying to make this script execute by some GANT (Groovy+ANT) code.  The GANT code that calls the script is fine and I can tell it is calling it, but I get an error when this script attempts to execute the first cd command saying that it is unable to execute it.  I have tried relative directory references, I have tried specific directory references.  I have made sure I have all of the necessary permissions.  This is all happening within the confines of my "home" folder.
>
> Anybody have any ideas, or suggestions?
>
> Doooh
> _________________________________________________________________
>
>
>   




More information about the ubuntu-ca mailing list