Skip to content

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

Merged
cakebaker merged 1 commit intouutils:mainfrom
sargas:explain-gnu-build-clone
Jun 29, 2023
Merged

util/build-gnu.sh: Improve error message when missing GNU Coreutils repository#5019
cakebaker merged 1 commit intouutils:mainfrom
sargas:explain-gnu-build-clone

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.
@sylvestre sylvestre force-pushed the explain-gnu-build-clone branch from b97f10f to 9bf1fb5 Compare June 29, 2023 08:50
@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