[svn:parrot] r38364 - trunk/tools/dev
chromatic
chromatic at wgz.org
Sun Apr 26 07:05:42 UTC 2009
On Saturday 25 April 2009 23:01:04 allison at svn.parrot.org wrote:
> Log:
> [tools] Make it possible to run the language shell generator outside the
> parrot build tree. Change it so the default isn't adding the new
> language under "languages/..." in Parrot's build directory, since that's
> not the common case anymore.
>--- trunk/tools/dev/mk_language_shell.pl Sun Apr 26 02:58:03 2009 (r38363)
> @@ -131,7 +133,7 @@
> ## build the initial makefile if no path was specified on command line
> unless ($ARGV[1]) {
> my $reconfigure = "$PConfig{perl} Configure.pl";
> - system("cd languages && cd $lclang && $reconfigure");
> + system("cd $lclang && $reconfigure");
> }
I'm not sure this is portable. How about:
die "Couldn't chdir to '$lclang': $!\n" unless chdir $lclang;
system( $PConfig{perl}, 'Configure.pl' );
-- c
More information about the parrot-dev
mailing list