Blob Blame History Raw
--- lib/viewvc.py.orig	2007-03-02 13:12:25.000000000 +1100
+++ lib/viewvc.py	2007-03-02 13:12:39.000000000 +1100
@@ -1244,7 +1244,7 @@
   def __call__(self, ctx):
     # create a temporary file with the same name as the file in
     # the repository so enscript can detect file type correctly
-    dir = compat.mkdtemp()
+    dir = compat.mkdtemp('','','/var/spool/viewvc')
     try:
       file = os.path.join(dir, self.filename)
       try: