GANT shell script execution
David Tremblay
david at ngowiki.net
Sat Oct 4 16:25:06 UTC 2008
On Sat, Oct 4, 2008 at 12:12 PM, Doooh Head <doooh_head at hotmail.com> 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?
>
>
Does your script start by
#!/bin/sh
If you do it manually do you have the same error and what is the error again
?
--
David Tremblay
IT analyst
mob: 418-208-3631
jabber: ict4ngo
skype : ict4ngo
Blog : http://blog.ngowiki.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-ca/attachments/20081004/66e09b70/attachment.html>
More information about the ubuntu-ca
mailing list