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

util/build-gnu.sh: Improve error message when missing GNU Coreutils repository #5019

Merged
merged 1 commit into from
Jun 29, 2023

Conversation

sargas
Copy link
Contributor

@sargas sargas commented Jun 29, 2023

For a new contributor, the message given by utils/build-gnu.sh is
fairly confusing - it starts with several lines of noise (showing
variables that are set in the script) followed by an error about missing
"GNU" and a git command string.

This PR changes the script to explicitly instruct the user to run
the git clone command. Since the GNU coreutils repository is probably
missing for new developers, this error is shown if the repository is
missing without including any VARIABLE=value lines that are not actionable
yet.

For a new contributor, the message given by `utils/build-gnu.sh` is
fairly confusing - it starts with several lines of noise (showing
variables that are set in the script) followed by an error about missing
"GNU" and a `git` command string.

This commit changes the script to explicitly instruct the user to run
the `git clone` command. Since the GNU coreutils repository is probably
missing for new developers, this error is shown if the repository is
missing without including VARIABLE=value lines that are not actionable
yet.
@cakebaker cakebaker merged commit 4ec73aa into uutils:main Jun 29, 2023
@cakebaker
Copy link
Contributor

Thanks for your PR :)

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