Skip to content

Fix syntax error in hash validation condition in bundle.sh#438

Closed
Ipstenu wants to merge 1 commit intorelease_1.3.0from
bugfix/bash-spaces
Closed

Fix syntax error in hash validation condition in bundle.sh#438
Ipstenu wants to merge 1 commit intorelease_1.3.0from
bugfix/bash-spaces

Conversation

@Ipstenu
Copy link
Contributor

@Ipstenu Ipstenu commented Feb 11, 2026

On line 74 the condition is written as if ![[ $EXPECTED_HASH =~ ... ]]. There is no space between ! and [[.

In bash, ! immediately followed by [ is treated as history expansion ( ![ = “last command starting with [”). In a non-interactive environment like Github Actions, that expansion fails or yields something that is not a valid command, so the shell reports “command not found."

Signed-off-by: Mika Epstein ipstenu@halfelf.org

Signed-off-by: Mika Epstein ipstenu@halfelf.org
Signed-off-by: Mika Ipstenu Epstein <ipstenu@halfelf.org>
@github-actions
Copy link
Contributor

@Ipstenu Ipstenu closed this Feb 11, 2026
@Ipstenu Ipstenu deleted the bugfix/bash-spaces branch February 25, 2026 22:21
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.

1 participant