From b9ed62c6b4ded4cf856388da651c6d86e4ddb779 Mon Sep 17 00:00:00 2001 From: sdake Date: Fri, 15 Feb 2013 16:25:34 -0700 Subject: [PATCH] Escape awk + sign so heat-keystone-setup works on Ubuntu 12.04 plus sign needs escaping Change-Id: Ia03f1eb213c806d13e88a435023ede8511ddfa4f Fixes: bug #126723 --- bin/heat-keystone-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} }") } -- 2.45.2