Skip to content

Commit

Permalink
make dist compatible with BSD (macOS, FreeBSD) xargs
Browse files Browse the repository at this point in the history
BSD xargs command doesn't support long options, but it does
support (and ignore) -r flag for GNU compatibility. The BSD
xargs utility never runs with an empty argument list.
  • Loading branch information
lifanov authored and austin987 committed Feb 21, 2017
1 parent 338ca9e commit 502e7e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ clean:
-o -name "*.log" \
-o -name "*.out" \
-o -name "*.verbs" \
| xargs --no-run-if-empty rm
| xargs -r rm
rm -rf src/df-* src/measurements src/links.d

# Remove trailing whitespaces
Expand Down

0 comments on commit 502e7e0

Please sign in to comment.