Fix escaping of % in bash code strings

This commit is contained in:
Dr. Stefan Schimanski 2016-03-22 16:47:16 +01:00
parent 966e6048eb
commit a23d903a12

View File

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