diff options
author | James O'Gorman <james@netinertia.co.uk> | 2008-09-05 19:08:26 +0000 |
---|---|---|
committer | James O'Gorman <james@netinertia.co.uk> | 2008-09-05 19:08:26 +0000 |
commit | a64e4affd6b9fcde0b968062a57d911d2d9b0a1f (patch) | |
tree | 1adf9768ddaabd8489d3de88c325146bdff67519 /infrastructure/makeparcels.pl.in | |
parent | c7625a9c8201b8c72c7e598eccef3674af6499e3 (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-x | infrastructure/makeparcels.pl.in | 2 |
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"; |