Skip to content

Commit 54410fe

Browse files
Merge pull request #44 from fledge-iot/FOGL-6130
FOGL-6130 service make_deb fixes
2 parents 3b9440c + e7e9fbb commit 54410fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/make_deb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ do
109109
pkg_name="${REPO_NAME}"
110110

111111
if [ -f "${GIT_ROOT}/VERSION" ]; then
112-
version=`cat ${GIT_ROOT}/VERSION | tr -d ' ' | grep 'notification_version' | head -1 | sed -e 's/\(.*\)version=\(.*\)/\2/g'`
112+
version=`cat ${GIT_ROOT}/VERSION | tr -d ' ' | grep "${service_name}_version" | head -1 | sed -e 's/\(.*\)version=\(.*\)/\2/g'`
113113
fledge_version=`cat ${GIT_ROOT}/VERSION | tr -d ' ' | grep 'fledge_version' | head -1 | sed -e 's/\(.*\)version\(.*\)/\2/g'`
114114
else
115115
echo Unable to determine version of package to create

0 commit comments

Comments
 (0)