diff --git a/CHANGES.md b/CHANGES.md index 22fa30ac..d5c6f4b6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -13,6 +13,9 @@ - Fix useless hint when all missing dependencies are optional (#137) +- Fix a bug preventing one from generating `META.pkg.template` with a + custom rule (#190) + 1.0+beta10 (08/06/2017) ----------------------- diff --git a/src/gen_rules.ml b/src/gen_rules.ml index ebb66499..46cc34aa 100644 --- a/src/gen_rules.ml +++ b/src/gen_rules.ml @@ -766,7 +766,7 @@ Add it to your jbuild file to remove this warning. let template = if has_meta_tmpl then - let meta_templ_path = Path.relative pkg.path meta_templ_fn in + let meta_templ_path = Path.relative path meta_templ_fn in Build.lines_of meta_templ_path else Build.return ["# JBUILDER_GEN"]