Package: gromacs-data Version: 2020.6-1 Severity: normal Dear Maintainer,
Sourcing /usr/share/bash-completion/completions/gmx produces the following errors: bash: /usr/share/bash-completion/completions/gmx: line 1: syntax error near unexpected token `(' bash: /usr/share/bash-completion/completions/gmx: line 1: `complete -o nospace -F _gmx_compl gmxcomplete -o nospace -F _gmx_compl gmx_d_gmx_anaeig_compl() {' bash: /usr/share/bash-completion/completions/gmx: line 1: syntax error near unexpected token `(' bash: /usr/share/bash-completion/completions/gmx: line 1: `complete -o nospace -F _gmx_compl gmxcomplete -o nospace -F _gmx_compl gmx_d_gmx_anaeig_compl() { This occurs because /usr/share/bash-completion/completions/gmx starts with: complete -o nospace -F _gmx_compl gmxcomplete -o nospace -F _gmx_compl gmx_d_gmx_anaeig_compl() { Which is not valid bash syntax. This occurs because /usr/bin/gmx-completion-gmx.bash produced by the gromacs installer does not have a trailing newline, which causes it to be combined with the first line of /usr/bin/gmx-completion.bash by cat $(CURDIR)/debian/gromacs/usr/bin/gmx*.bash > \ $(CURDIR)/debian/gromacs-data/usr/share/bash-completion/completions/gmx in debian/rules to produce the combined first line which causes the syntax error. Cheers, Kevin