Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 axiom (20170401-1) unstable; urgency=medium
 .
   * New upstream release
Author: Camm Maguire <camm@debian.org>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2017-05-11

--- axiom-20170401.orig/books/tangle.lisp
+++ axiom-20170401/books/tangle.lisp
@@ -384,7 +384,7 @@
               (if (search pattern key)
                (let ((filename key) helpfile)
                 (when noweb? (setq filename (subseq key 2 (- (length key) 2))))
-                (setq helpfile (concatenate 'string todir "/" filename))
+                (setq helpfile (substitute #\q #\? (concatenate 'string todir "/" filename)))
                 (with-open-file (out helpfile :direction :output)
                  (format t "extracting ~a~%" helpfile)
                  (gcl-expand key noweb? out)))))
