summaryrefslogtreecommitdiff
path: root/infrastructure/makeparcels.pl.in
diff options
context:
space:
mode:
authorJames O'Gorman <james@netinertia.co.uk>2008-09-05 19:08:26 +0000
committerJames O'Gorman <james@netinertia.co.uk>2008-09-05 19:08:26 +0000
commita64e4affd6b9fcde0b968062a57d911d2d9b0a1f (patch)
tree1adf9768ddaabd8489d3de88c325146bdff67519 /infrastructure/makeparcels.pl.in
parentc7625a9c8201b8c72c7e598eccef3674af6499e3 (diff)
Fix GNUism in use of xargs (xargs -r is a GNU extension) - just get find to perform the delete using -exec.
Diffstat (limited to 'infrastructure/makeparcels.pl.in')
-rwxr-xr-xinfrastructure/makeparcels.pl.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/infrastructure/makeparcels.pl.in b/infrastructure/makeparcels.pl.in
index 33c72d4c..68b50198 100755
--- a/infrastructure/makeparcels.pl.in
+++ b/infrastructure/makeparcels.pl.in
@@ -101,7 +101,7 @@ for my $parcel (@parcels)
print MAKE "\trm -rf ",parcel_dir($parcel),"\n";
print MAKE "\trm -f ",parcel_target($parcel),"\n";
}
-print MAKE "\tfind release debug -type f | xargs -r rm\n";
+print MAKE "\tfind release debug -type f -exec rm -f {} \\;\n";
print MAKE "\n";
print MAKE "test:\trelease/common/test\n\nrelease/common/test:\n\t./runtest.pl ALL release\n\n";