Merge pull request #256 from sttts/sttts-fix-bash-escaping

Fix escaping of % in bash code strings
This commit is contained in:
Eric Paris 2016-03-22 12:10:42 -05:00
commit c678ff029e

View File

@ -22,7 +22,7 @@ func preamble(out io.Writer, name string) error {
if err != nil {
return err
}
_, err = fmt.Fprintf(out, `
_, err = fmt.Fprint(out, `
__debug()
{
if [[ -n ${BASH_COMP_DEBUG_FILE} ]]; then