From e11c874952247cf9040069f8c730199d208bd547 Mon Sep 17 00:00:00 2001 From: Serge Rehbinder Date: Wed, 14 Sep 2016 11:48:34 +0200 Subject: [PATCH] Add VERSION in bash script compilation environment --- src/compilation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compilation.py b/src/compilation.py index 5b4fb1b..d0c62db 100644 --- a/src/compilation.py +++ b/src/compilation.py @@ -401,6 +401,7 @@ CC=\\"hack_libtool\\"%g" libtool''' self.build_environ.set("DIST_NAME", self.config.VARS.dist_name) self.build_environ.set("DIST_VERSION", self.config.VARS.dist_version) self.build_environ.set("DIST", self.config.VARS.dist) + self.build_environ.set("VERSION", self.product_info.version) def do_batch_script_build(self, script): # define make options (may not be used by the script) -- 2.39.2