Skip to content
This repository was archived by the owner on Apr 9, 2019. It is now read-only.
This repository was archived by the owner on Apr 9, 2019. It is now read-only.

line 363 should use [[ ]] rather than [ ] #11

@ctgswallow

Description

@ctgswallow

Hi,

I think word splitting in line 363 causes this error:

[: too many arguments

I'm running VMware to the result of "imvirt" is "VMware ESX Server".

Because of the issue with line 363, the oab-java6.sh script skips the entire routine that creates GPG keys and signs the repository? Replacing [ ] with [[ ]] fixes the problem as [[ ]] disables word splitting:

if [[ imvirt != "OpenVZ" ]]; then

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