[4.1] c21bb8d Output to the correct file name.

Lasse Karstensen lkarsten at varnish-software.com
Tue Jun 14 12:58:07 CEST 2016


commit c21bb8dc7ee11699bb7d66d21acc5f98386557f0
Author: Lasse Karstensen <lkarsten at varnish-software.com>
Date:   Thu May 26 17:13:16 2016 +0200

    Output to the correct file name.
    
    Last minute changes...

diff --git a/lib/libvcc/vmodtool.py b/lib/libvcc/vmodtool.py
index e820c2a..c2b1977 100755
--- a/lib/libvcc/vmodtool.py
+++ b/lib/libvcc/vmodtool.py
@@ -967,7 +967,7 @@ def runmain(inputvcc, rstdir, outputprefix):
 
 	# Our makefile targets the .c file so make sure to put that in place last.
 	rename(fn_headerfile, outputprefix + ".h")
-	rename(fn_cfile, outputprefix + ".h")
+	rename(fn_cfile, outputprefix + ".c")
 
 
 if __name__ == "__main__":



More information about the varnish-commit mailing list