Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apply_copyright script is not portable #1554

Open
dgovil opened this issue Oct 22, 2023 · 0 comments
Open

apply_copyright script is not portable #1554

dgovil opened this issue Oct 22, 2023 · 0 comments
Labels

Comments

@dgovil
Copy link
Contributor

dgovil commented Oct 22, 2023

Running apple_copyright from within the root of the package on macOS 14 gives me the following error

src/build_utils/license/apply_copyright
xargs: invalid option -- i
usage: xargs [-0opt] [-E eofstr] [-I replstr [-R replacements] [-S replsize]]
             [-J replstr] [-L number] [-n number [-x]] [-P maxprocs]
             [-s size] [utility [argument ...]]
xargs: invalid option -- i
usage: xargs [-0opt] [-E eofstr] [-I replstr [-R replacements] [-S replsize]]
             [-J replstr] [-L number] [-n number [-x]] [-P maxprocs]
             [-s size] [utility [argument ...]]

I believe this is assuming a GNU/Linux configuration of xargs which is not compatible with the BSD/Darwin version of xargs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant