summaryrefslogtreecommitdiff
path: root/infrastructure/makeparcels.pl.in
diff options
context:
space:
mode:
Diffstat (limited to 'infrastructure/makeparcels.pl.in')
-rwxr-xr-xinfrastructure/makeparcels.pl.in5
1 files 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;