mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-23 10:54:07 +08:00
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:
parent
6b8068d653
commit
7392b0906f
@ -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.
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user