[Gambas-user] I need a shell script
Stefano Palmeri
rospolosco at ...152...
Mon Apr 27 12:44:26 CEST 2009
Il lunedì 27 aprile 2009 12:31:12 jbskaggs ha scritto:
> When I try to open this with archive manager I get:
>
> tar: This does not look like a tar archive
> tar: Skipping to next header
> tar: Error exit delayed from previous errors
>
> I also tried with xarchive, and ark and could not get it to open could you
> re-archive it and send it again?
>
> JB
>
Strange. I've created it from the Gambs IDE and the archive seems
to be fine here on my box. Anyway here again. Check the md5sum.
e6c7e1021a1ee48f070f997dd5346f53 sudo-0.0.1.tar.gz
Try 'tar xzvf sudo-0.0.1.tar.gz'
Stefano
> Stefano Palmeri wrote:
> > Il lunedì 27 aprile 2009 03:33:00 jbskaggs ha scritto:
> >> I am having a sudo (permission) problem in my gamemaker program. It
> >> creates the code and writes it to the MMain.Module and creates the
> >> .Project
> >> file.
> >>
> >> Now I need to be able to shell from my program to a directory and run
> >> the gbc2 and gba2 commands.
> >>
> >> I have tried several different shell commands and I have tried a script:
> >>
> >> cd mypathtoproject
> >> gbc2
> >> gba2
> >>
> >> but I get a permission not granted error. I have tired calling the
> >> script
> >> from shell with sudo
> >>
> >> Shell "sudo " & "scriptname.sh"
> >>
> >> but it asks for password then hangs.
> >>
> >> This is really simple but I am somehow bungling it as usual.
> >>
> >> So could someone one correct my script and to tell me how to call it?
> >>
> >> JB Skaggs
> >
> > Attached a little example.
> >
> > Stefano
> >
> >
> > -------------------------------------------------------------------------
> >----- Crystal Reports - New Free Runtime and 30 Day Trial
> > Check out the new simplified licensign option that enables unlimited
> > royalty-free distribution of the report engine for externally facing
> > server and web deployment.
> > http://p.sf.net/sfu/businessobjects
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sudo-0.0.1.tar.gz
Type: application/x-tgz
Size: 7871 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20090427/1f1d69d4/attachment.bin>
More information about the User
mailing list