Skip to content

./build-hidapi.sh: line 237: syntax error near unexpected token `(' #114

@tresf

Description

@tresf

Testing ./build-hidapi.sh on the issue-93 branch, bash seems to get hung-up on the (ARMv8) portions of the script. Removing the parentheses seems to fix this.

I'm working to add arm64 support to this branch, so I'll fix this bug as a part of the Pull Request.

The fix is:

echo -e "\033[32mBuilding ARM64/aarch64 (ARMv8)\033[0m"

-    echo -e "\033[32mBuilding ARM64/aarch64 (ARMv8)\033[0m"
+    echo -e "\033[32mBuilding ARM64/aarch64 ARMv8\033[0m"

I assume this script is still actively used, so I'm not entirely sure why it's broken on only my machine, but I wanted to document this as it may get lost in the PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions