Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion engine/schema/templateConfig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ function getGenericName() {
function getChecksum() {
local fileData="$1"
local hvName=$2
local buildingVersion="$CS_VERSION.$CS_MINOR_VERSION"
while IFS= read -r line; do
if [[ $line == *"$hvName"* ]]; then
if [[ "$line" == *"$buildingVersion-$hvName"* ]]; then
echo "$(cut -d' ' -f1 <<<"$line")"
fi
done <<< "$fileData"
Expand Down