[4.1] 0947220 Write overridden file name also in created file.
Lasse Karstensen
lkarsten at varnish-software.com
Thu Mar 3 16:53:22 CET 2016
commit 0947220bd2ca6860f84293c03a08a79a83021018
Author: Lasse Karstensen <lkarsten at varnish-software.com>
Date: Wed Mar 2 15:44:52 2016 +0100
Write overridden file name also in created file.
This was forgotten in ecbdb32 and made the change moot.
diff --git a/lib/libvcc/vmodtool.py b/lib/libvcc/vmodtool.py
index fd4b370..9262850 100755
--- a/lib/libvcc/vmodtool.py
+++ b/lib/libvcc/vmodtool.py
@@ -928,7 +928,7 @@ def runmain(inputvcc, rstdir, outputprefix="vcc_if"):
fc.write('#include "config.h"\n')
fc.write('#include "vcl.h"\n')
fc.write('#include "vrt.h"\n')
- fc.write('#include "vcc_if.h"\n')
+ fc.write('#include "%s.h"\n' % outputprefix)
fc.write('#include "vmod_abi.h"\n')
fc.write('\n')
More information about the varnish-commit
mailing list