Skip to content

Conversation

chirsz-ever
Copy link
Contributor

Both coreutils stat and busybox stat support -c, but busybox stat does not support --printf.

After this modification, install.sh can run in an environment with busybox utils.

@chirsz-ever chirsz-ever changed the title install.sh: Improve compatibility install.sh: Improve portability Jul 24, 2025
Both coreutils stat and busybox stat support `-c`, but busybox stat does not support `--printf`.
Copy link
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, thanks!

@MikeMcQuaid MikeMcQuaid merged commit 2fc1e23 into Homebrew:main Jul 24, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants