diff --git a/debian/tools/patchupdate.py b/debian/tools/patchupdate.py index 093ae9b7..712d7b65 100755 --- a/debian/tools/patchupdate.py +++ b/debian/tools/patchupdate.py @@ -528,7 +528,7 @@ def generate_makefile(all_patches): fp.write("\t@( \\\n") for info in patch.authors: if not info.subject: continue - s = info.subject.replace("\\", "\\\\\\\\").replace("\"", "\\\\\"") + s = info.subject.replace("\\", "\\\\\\\\").replace("\"", "\\\\\"").replace("'", "'\\''") if info.revision and info.revision != "1": s += " [rev %s]" % info.revision fp.write("\t\techo '+ { \"%s\", \"%s\", \"%s\" },'; \\\n" % (patch.name, info.author, s)) fp.write("\t) > %s.ok\n" % patch.name) diff --git a/patches/Makefile b/patches/Makefile index ba5ac000..96f6b1c9 100644 --- a/patches/Makefile +++ b/patches/Makefile @@ -287,7 +287,7 @@ configure-Detect_Gnutls.ok: dbghelp-KdHelp.ok: $(call APPLY_FILE,dbghelp-KdHelp/0001-dbghelp-Don-t-fill-KdHelp-structure-for-usermode-app.patch) @( \ - echo '+ { "dbghelp-KdHelp", "Sebastian Lackner", "Don't fill KdHelp structure for usermode applications." },'; \ + echo '+ { "dbghelp-KdHelp", "Sebastian Lackner", "Don'\''t fill KdHelp structure for usermode applications." },'; \ ) > dbghelp-KdHelp.ok # Patchset dsound-Fast_Mixer