summaryrefslogtreecommitdiff
path: root/infrastructure
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2011-06-30 22:02:49 +0000
committerChris Wilson <chris+github@qwirx.com>2011-06-30 22:02:49 +0000
commit585873acb336a56eb2e374d5f0aa0ba882927bb0 (patch)
tree7f6917dcde85ad6b2b3570c380eccc316482e1c3 /infrastructure
parent4ed5414dd0fb95f8bda5e60861da15ec3bd3e975 (diff)
Reinstate the -f option to avoid failure if the files don't exist.
Diffstat (limited to 'infrastructure')
-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;