diff options
author | Chris Wilson <chris+github@qwirx.com> | 2011-06-30 22:02:49 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2011-06-30 22:02:49 +0000 |
commit | 585873acb336a56eb2e374d5f0aa0ba882927bb0 (patch) | |
tree | 7f6917dcde85ad6b2b3570c380eccc316482e1c3 /infrastructure | |
parent | 4ed5414dd0fb95f8bda5e60861da15ec3bd3e975 (diff) |
Reinstate the -f option to avoid failure if the files don't exist.
Diffstat (limited to 'infrastructure')
-rwxr-xr-x | infrastructure/makeparcels.pl.in | 5 |
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; |