From dc977b419ae6717380c9bbd6937473a57d83884d Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sat, 29 Mar 2014 21:07:12 +0100 Subject: [PATCH] Include mr string in version information --- ec2-create-ce | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ec2-create-ce b/ec2-create-ce index 0ce8961..3768e37 100755 --- a/ec2-create-ce +++ b/ec2-create-ce @@ -138,7 +138,7 @@ if ! wget --quiet -O /tmp/ngcp-installer.deb "http://deb.sipwise.com/spce/ngcp-i fi if dpkg --info /tmp/ngcp-installer.deb | grep -q 'mr' ; then - NGCP_VERSION=$(dpkg --info /tmp/ngcp-installer.deb | awk '/^ Version: / {print $2}' | sed 's/.*mr//') + NGCP_VERSION=$(dpkg --info /tmp/ngcp-installer.deb | awk '/^ Version: / {print $2}' | sed 's/.*mr/mr/') else # older versions don't have the mr string in the version information, so let's reuse provided ngcp release NGCP_VERSION="$NGCP_RELEASE" echo "*** No 'mr' string inside version information of installer found... ***"