From 41ce559afda0c50e8dbe23eedbfce326dfe446e2 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 3 Apr 2009 00:17:35 +0000 Subject: Use update copy to speed up rebuilds on windows/cygwin. --- infrastructure/makeparcels.pl.in | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'infrastructure') diff --git a/infrastructure/makeparcels.pl.in b/infrastructure/makeparcels.pl.in index e9e240db..cc54b23f 100755 --- a/infrastructure/makeparcels.pl.in +++ b/infrastructure/makeparcels.pl.in @@ -25,6 +25,13 @@ sub os_matches ($) return 0; } +my $copy_command = "cp -p"; + +if ($build_os eq 'CYGWIN') +{ + $copy_command = "cp -pu"; # faster +} + open PARCELS,"parcels.txt" or die "Can't open parcels file"; { my $cur_parcel = ''; @@ -168,7 +175,7 @@ for my $parcel (@parcels) print MAKE <