summaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorMicah Elizabeth Scott <micah@misc.name>2015-12-15 10:13:06 -0800
committerMicah Elizabeth Scott <micah@misc.name>2015-12-15 10:13:06 -0800
commit93f6f68b6556da1816b0b795ff8500cd27806c11 (patch)
tree900182f1135fdf514a125d5869669f406ec1c02d /manual
parent494e5f24f939e3bae4230084ece432304a7ba73a (diff)
Remove nonportable "-r" option from xargs
On Linux, this avoids an empty "rm -f" call when there's nothing to clean. But it isn't portable, and it causes the build to fail on Mac OS. It doesn't seem to be harmful to remove this option entirely, and it's a step toward fixing the Mac build.
Diffstat (limited to 'manual')
-rwxr-xr-xmanual/clean.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/clean.sh b/manual/clean.sh
index f4a2ea83..11c2e7bf 100755
--- a/manual/clean.sh
+++ b/manual/clean.sh
@@ -1,2 +1,2 @@
#!/bin/bash
-for f in $( find . -name .gitignore ); do sed -re "s,^,find ${f%.gitignore} -name ',; s,$,' | xargs -r rm -f,;" $f; done | bash -v
+for f in $( find . -name .gitignore ); do sed -re "s,^,find ${f%.gitignore} -name ',; s,$,' | xargs rm -f,;" $f; done | bash -v