From: sdake Date: Fri, 15 Feb 2013 23:25:34 +0000 (-0700) Subject: Escape awk + sign so heat-keystone-setup works on Ubuntu 12.04 X-Git-Tag: 2014.1~899 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=b9ed62c6b4ded4cf856388da651c6d86e4ddb779;p=openstack-build%2Fheat-build.git Escape awk + sign so heat-keystone-setup works on Ubuntu 12.04 plus sign needs escaping Change-Id: Ia03f1eb213c806d13e88a435023ede8511ddfa4f Fixes: bug #126723 --- diff --git a/bin/heat-keystone-setup b/bin/heat-keystone-setup index 8d3f9aa3..9252d3e6 100755 --- a/bin/heat-keystone-setup +++ b/bin/heat-keystone-setup @@ -36,7 +36,7 @@ get_data() { echo $("$@" | \ awk -F'|' \ - "! /^+/ && \$${match_column} ~ \"^ *${regex} *\$\" \ + "! /^\+/ && \$${match_column} ~ \"^ *${regex} *\$\" \ { print \$${output_column} }") }