Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue: dnie-tool bash completion script not correct #392

Closed
lbakman opened this issue Mar 11, 2015 · 0 comments
Closed

Issue: dnie-tool bash completion script not correct #392

lbakman opened this issue Mar 11, 2015 · 0 comments

Comments

@lbakman
Copy link
Contributor

lbakman commented Mar 11, 2015

Hi

I was building OpenSC from github yesterday and stumbled upon an issue with the generated /etc/bash_completion.d/dnie-tool script.

I spotted it one time when I was changing to root through "su -" - I was given a warning that line 18 of dnie-tool was incorect.

I looked through the files at OpenSC/doc/tools and found that the dnie-tool.1.xml was formatted differently than the other .1.xml files and that the sed regular expression in the Makefiles was not picking up the ALLOPTS and OPTSWITHARGS from the xml file.

The resulting /etc/bash_completion.d/dnie-tool script was missing the case label for the 'case "{$prev}" in' switch statement.

I have created a pull request (#390) that solves this issue.

I am running Red Hat 7 if that is important.

Regards Lau Bakman

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

No branches or pull requests

1 participant