This is an automated email from the git hooks/post-receive script.
christophe.lyon pushed a commit to branch master in repository toolchain/backport-tools.
The following commit(s) were added to refs/heads/master by this push: new 8835050 Remove special characters in ${file} to avoid confu [...] 8835050 is described below
commit 883505012cb8faca2e89e26c6b57c6a107b8809b Author: Christophe Lyon christophe.lyon@linaro.org Date: Fri Jul 10 14:07:44 2015 +0200
Remove special characters in ${file} to avoid confusing grep --- linaro-gcc-git-review-backport-patch.sh | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/linaro-gcc-git-review-backport-patch.sh b/linaro-gcc-git-rev [...] index be140b2..1cd3df1 100755 --- a/linaro-gcc-git-review-backport-patch.sh +++ b/linaro-gcc-git-review-backport-patch.sh @@ -33,6 +33,8 @@ sort_patch() touch $SVNPATCH.tmp for file in `echo $GITFILES` do + # Remove special characters in ${file} to avoid confusing grep + file=`echo ${file} | sed 's/+/./g'` # Line where the diff entry starts LINESTART=`egrep -n "^Index: .*$file" $SVNPATCH | \ head -n 1 | cut -d: -f1`