Please do not replace system(LIST) with system(STR). All sorts of complexities arise.
What is the exact value of $required? Is something maybe adding quotation marks to it? That would fit the symptom. On 4/14/09, Sam Dela Cruz <samm...@gmail.com> wrote: > Hi Will, > > Thanks for the reply. Here's the error message I'm getting: > > Generating Parrot ... > /usr/bin/perl build/gen_parrot.pl > > via svn...t Parrot r37980 > 'vn: Syntax error in revision argument '37980 > > And I just tried it again, after changing line 47 to: > > system("svn checkout -r" . $required . " > https://svn.parrot.org/parrot/trunkparrot"); > > I was able to do a checkout of parrot. > > Btw, my machine is running Ubuntu, Intrepid Ibex. > > Regards, > Sam > > On Tue, Apr 14, 2009 at 5:17 AM, Will Coleda via RT < > perl6-bugs-follo...@perl.org> wrote: > >> On Tue Apr 14 01:44:39 2009, samm...@gmail.com wrote: >> > Hi, >> > >> > I think this line is wrong: >> > line 47: system(qw(svn checkout -r), $required , qw( >> > https://svn.parrot.org/parrot/trunk parrot)); >> > >> > all qw should be removed, in my ubuntu, i think what' s happening is >> it's >> > removing all the spaces, so I'm getting a bunch of error messages, i >> think >> > this is better: >> > system("svn checkout -r" . $required . " " . " >> > https://svn.parrot.org/parrot/trunk parrot"); >> > >> > Regards, >> > Sam >> >> Out of curiosity, what error messages are you getting? >> >> BTW, this command looks right to me, passing a list to system() instead >> of a string avoids shell escaping issues. >> >> -- >> Will "Coke" Coleda >> > -- Sent from my mobile device Mark J. Reed <markjr...@gmail.com>