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

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

Closed
ctgswallow opened this issue Feb 21, 2012 · 1 comment
Closed

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

ctgswallow opened this issue Feb 21, 2012 · 1 comment

Comments

@ctgswallow
Copy link

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

@flexiondotorg
Copy link
Owner

Hi,

Thanks for the bug report and fix.

Regards, Martin.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants