From 585873acb336a56eb2e374d5f0aa0ba882927bb0 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 30 Jun 2011 22:02:49 +0000 Subject: Reinstate the -f option to avoid failure if the files don't exist. --- infrastructure/makeparcels.pl.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/infrastructure/makeparcels.pl.in b/infrastructure/makeparcels.pl.in index ed2a01aa..58524612 100755 --- a/infrastructure/makeparcels.pl.in +++ b/infrastructure/makeparcels.pl.in @@ -380,8 +380,9 @@ else for my $parcel (@parcels) { - print MAKE "\trm -r ", BoxPlatform::parcel_dir($parcel), "\n"; - print MAKE "\trm ", BoxPlatform::parcel_target($parcel), "\n"; + # need to use -f to avoid error if they don't exist (already cleaned) + print MAKE "\trm -rf ", BoxPlatform::parcel_dir($parcel), "\n"; + print MAKE "\trm -f ", BoxPlatform::parcel_target($parcel), "\n"; } close MAKE; -- cgit v1.2.3