summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichal Cmarada <mcmarada@cisco.com>2019-04-05 12:21:24 +0200
committerMichal Cmarada <mcmarada@cisco.com>2019-04-05 12:21:24 +0200
commitb311cdeb3e816d6836aa93bbcbb3eb4f2353caa2 (patch)
tree6b99f6abede8b1f61762f33e113f6e27184eadc2 /scripts
parentcb48eef7770e0782c686337b577064905e1edb8d (diff)
Update cmake build
- cleanups and updates - updates docs for centos build using devtoolset7 compiler Change-Id: I4c5635b1512dcd08e98291bde1f14c51f9067b63 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/verify-installed4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/verify-installed b/scripts/verify-installed
index 908eb93..7fd7811 100755
--- a/scripts/verify-installed
+++ b/scripts/verify-installed
@@ -17,9 +17,9 @@ package=$1
source /etc/os-release
if [[ "$ID" = "centos" ]]; then
- yum list installed | grep ${package}
+ yum list installed | grep ${package} | sed -n ':a;N;${s/\n/;/g;p};ba'
exit
else
- dpkg -l ${package} |grep ii | grep ${package}
+ dpkg -l ${package} |grep ii | grep ${package} | sed -n ':a;N;${s/\n/;/g;p};ba'
fi