Skip to content

docker/am/import-pem-certs.sh has a syntax error on line 19 #722

Description

@pearj

When I open the docker/am/import-pem-certs.sh file, shell check says line 19 has an invalid syntax.

if [ -f "$AM_DEFAULT_TRUSTSTORE" ] && ( [ -f "$AM_PEM_TRUSTSTORE" ] || [ -f "$AM_PEM_TRUSTSTORE_DS" ] || [ -f "$AM_PEM_TRUSTSTORE_EXTRA" ); then

It looks like the last portion of the test has a missing closing square bracket.

i.e.

[ -f "$AM_PEM_TRUSTSTORE_EXTRA" ); then

Should be

[ -f "$AM_PEM_TRUSTSTORE_EXTRA" ] ); then

Activity

  1. damonconway commented on Oct 1, 2026

    @damonconway
    Contributor

    Hi @pearj,
    Thanks for pointing this out. I'm going to fix this now to get it into the next release.

    Damon

  2. damonconway commented on Oct 1, 2026

    @damonconway
    Contributor

    Ok, I have a PR in and it'll be in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions