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.

From-SVN: r225837
This commit is contained in:
Tom de Vries 2015-07-15 15:41:21 +00:00 committed by Tom de Vries
parent 6b8068d653
commit 7392b0906f
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2015-07-15 Tom de Vries <tom@codesourcery.com>
* check_GNU_style.sh (cat_with_prefix): Fix quoting.
2015-06-02 Steve Ellcey <sellcey@imgtec.com>
* test_installed (--target=): New option.

View File

@ -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
}