-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
I get syntax error when parsing repo files that contain & in "value".
bash-ini-parser: eval: line 86: syntax error near unexpected token `&'
bash-ini-parser: eval: line 86: `mirrorlist=( http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra )'
bash-ini-parser: eval: line 89: syntax error near unexpected token `}'
bash-ini-parser: eval: line 89: `}'
[centos-kernel]
name=CentOS LTS Kernels for $basearch
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=kernel&infra=$infra
As a quick test, I escaped & and the example below passes.
[centos-kernel]
name=CentOS LTS Kernels for $basearch
mirrorlist=http://mirrorlist.centos.org/?release=$releasever\&arch=$basearch\&repo=kernel\&infra=$infra
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels