cross-plat-dev-utils/build_all.pl
changeset 6 787612182dd0
parent 2 39c28ec933dd
child 40 68f68128601f
--- a/cross-plat-dev-utils/build_all.pl	Wed May 12 09:52:26 2010 +0100
+++ b/cross-plat-dev-utils/build_all.pl	Thu May 13 08:38:18 2010 +0100
@@ -13,7 +13,7 @@
 
 use strict;
 use perl_run;
-use set_epocroot;
+use places;
 use check_os;
 my $keepgoing = 0;
 my @built = ();
@@ -27,7 +27,7 @@
 	print ">>> Building target $targ\n";
 	my $rc = perl_run("build_target.pl $targ");
 	if ($rc) {
-		print "*** Failed to build target $targ ***";
+		print "*** Failed to build target $targ ***\n";
 		if ($keepgoing) {
 			push(@failed,$targ);
 		} else {
@@ -58,8 +58,7 @@
         exit 1;
     }         
 }
-set_epocroot();
-my $epocroot = $ENV{'EPOCROOT'};
+my $epocroot = get_epocroot();
 my @targ_lines = perl_slurp("list_targets.pl");
 open DEPS,"<deps.txt" or die $!;
 my @deps = <DEPS>;