From 365770a5b503ebd546b9a656b428b7e795b913f6 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Fri, 9 Oct 2020 15:11:02 +0800 Subject: [PATCH] mtce: add missing curly braces for variables Add missing curly braces for variables MAJOR and MINOR. This fixes libamon not installed correctly. Closes-Bug: 1899130 Change-Id: I12be297058ae3b43a01f4e9b1dadf4626e8e18f0 Signed-off-by: Jackie Huang --- meta-stx-flock/stx-metal/mtce.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-stx-flock/stx-metal/mtce.bb b/meta-stx-flock/stx-metal/mtce.bb index 65f90b6..e5deb59 100644 --- a/meta-stx-flock/stx-metal/mtce.bb +++ b/meta-stx-flock/stx-metal/mtce.bb @@ -211,8 +211,8 @@ do_install() { # software development files install -m 644 -p -D heartbeat/mtceHbsCluster.h ${D}/${includedir}/mtceHbsCluster.h install -m 755 -p -D public/libamon.so.1 ${D}/${libdir}/ - cd ${D}/${libdir} ; ln -s libamon.so.$MAJOR libamon.so.$MAJOR.$MINOR - cd ${D}/${libdir} ; ln -s libamon.so.$MAJOR libamon.so + cd ${D}/${libdir} ; ln -s libamon.so.${MAJOR} libamon.so.${MAJOR}.${MINOR} + cd ${D}/${libdir} ; ln -s libamon.so.${MAJOR} libamon.so } FILES_${PN}-pmon = " \