Modify version check flow

Signed-off-by: Rafal Stefanowski <rafal.stefanowski@intel.com>
This commit is contained in:
Rafal Stefanowski
2020-06-09 10:29:01 +02:00
parent f0594dce3a
commit afa0c1b53f
7 changed files with 121 additions and 48 deletions

8
configure vendored
View File

@@ -61,6 +61,14 @@ then
exit 1
fi
# Run version generator with 'build' flag to
# indicate that we are in the build process
(cd utils && ./cas_version_gen build)
if [ $? -ne 0 ]; then
echo "Error: failed to obtain CAS version" >&2
exit 1
fi
CONFIG_FILES=`ls $SCRIPTPATH/configure.d/*.conf | sort`
FILES_COUNT=`echo $CONFIG_FILES | wc -w`