Message ID | 55A6882B.5090300@mentor.com |
---|---|
State | New |
Headers | show |
check_GNU_style.sh: Fix quoting in cat_with_prefix 2015-07-15 Tom de Vries <tom@codesourcery.com> * check_GNU_style.sh (cat_with_prefix): Fix quoting. diff --git a/contrib/check_GNU_style.sh b/contrib/check_GNU_style.sh index 033a2c9..ac54ed0 100755 --- a/contrib/check_GNU_style.sh +++ b/contrib/check_GNU_style.sh @@ -89,7 +89,7 @@ cat_with_prefix () if [ "$prefix" = "" ]; then cat "$f" else - awk "{printf "%s%s\n", $prefix, \$0}" $f + awk "{printf \"%s%s\n\", \"$prefix\", \$0}" $f fi } -- 1.9.1