Sfoglia il codice sorgente

Removed temporary build file 'tmp.output'.

Sander Mathijs van Veen 14 anni fa
parent
commit
39b28b724e
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      src/pyrex/bison_.pyx

+ 2 - 1
src/pyrex/bison_.pyx

@@ -627,7 +627,7 @@ cdef class ParserEngine:
         # --------------------------------------------
         # clean up, if we succeeded
         hitlist = objs[:]
-        hitlist.append(buildDirectory + "tmp.output")
+        hitlist.append("tmp.output")
 
         if os.path.isfile(libFileName):
             for name in ['bisonFile', 'bisonCFile', 'bisonHFile',
@@ -641,6 +641,7 @@ cdef class ParserEngine:
                 #print "want to delete %s" % fname
                 if fname and os.path.isfile(fname):
                     hitlist.append(fname)
+
         if not parser.keepfiles:
             for f in hitlist:
                 try: