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

Fix Issue 21433 - "bash: line 952: --list-keys: command not found" wh… #476

Merged
merged 1 commit into from
Nov 28, 2020

Conversation

CyberShadow
Copy link
Member

…en running install.sh on Catalina

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @CyberShadow!

Bugzilla references

Auto-close Bugzilla Severity Description
21433 normal "bash: line 952: --list-keys: command not found" when running install.sh on Catalina

Copy link
Member

@PetarKirov PetarKirov left a comment

Choose a reason for hiding this comment

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

Anyway, LGTM

@@ -946,7 +946,7 @@ verify() {
path="$1"
urls=("${@:2}")
: "${GPG:=$(find_gpg)}"
if [ "$GPG" = x ]; then
if [ -z "$GPG" ]; then
Copy link
Member

Choose a reason for hiding this comment

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

I have no idea what [ "$GPG" = x ] was supposed to check for... perhaps the intention was to perform this check instead: [ "$GPG" != gpg ] && [ "$GPG" != gpg2 ]?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it was supposed to be [ x$GPG = x ], which I think is an antiquated way to check for an empty variable.

@Geod24 Geod24 merged commit 169d2b6 into dlang:master Nov 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants